Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Handling Dates ====== Convert //datetime// values to and from strings in [[wp>ISO 8601]] format <code python> from datetime import datetime import dateutil.parser dt = datetime.now() print(type(dt)) print(type(dt.isoformat())) print(type(dateutil.parser.parse('2023-03-20T15:35:30Z'))) </code> python/handling_dates.txt Last modified: 2023/03/20 18:18by mgupton