pandas get date datetime code example Example: current datetime pandas today = pd.to_datetime("today")