time_str = current_time_formatted_to_minutes()
print(time_str)2024-08-30T19:29
current_time_formatted_to_minutes ()
*Return the current time to minutes.
Returns
The current_time_formatted_to_minutes function is a convenience function that returns a string formatting current UTC time:
Use the dattime.dattime.fromisoformat function to convert back the formatted string to a datetime.datetime object: