![]() Microsecond as a decimal number, zero-padded on the left Hour (24-hour clock) as a zero-padded decimal number Year without century as a zero-padded decimal number Complete list of format code : Format Codesĭay of the month as a zero-padded decimal number Print('Current Timestamp : ', timestampStr)įormat string used here is “ %d-%b-%Y (%H:%M:%S.%f)“. The format string contains the codes pointing to each element of datetime like %d for day of month
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |