How to use strftime(), to format date and time values.
Sincethestringrepresentationof...Returnadatecorrespondingtoadate_stringgiveninanyvalidISO8601format,withthefollowingexceptions:.,FormatdatetimetoString:Useyour_datetime_object.strftime(format_code)toformatadatetimeobjectintoacustomstring.CopyCode...。參考影片的文章的如下: