DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to set datetime format in python
import datetime x = datetime.datetime(2018, 9, 15) print(x.strftime("%b %d %Y %H:%M:%S"))
Source by stackabuse.com #
PREVIOUS
NEXT
Tagged:
#set
#datetime
#format
#python
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit