Skip to content

jhtimmins/human_time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human Time

Make Python datetime formatting human readable

from datetime import datetime
import human_time
time_string = "MONTH_LONG DAY_OF_MONTH, YEAR_LONG HOUR_12:MINUTE AM_PM"

datetime_value = datetime.now()
print(human_time.format(time_string, datetime_value))
# October 03, 2021 02:20 PM

About

Make Python datetime formatting human readable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages