how to extract first date in python code example Example: find first date python oldest = min(datetimes)