Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def seconds_to_datetime_str(seconds: str, format: str = '%Y-%m-%d'):
- return time.strftime(format, time.gmtime(seconds))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement