python check what date comes first code example Example: find first date python oldest = min(datetimes)