DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
format date string python
import datetime datetime.datetime.strptime("2022-1-25", '%Y-%m-%d').strftime('%m/%d/%y')
PREVIOUS
NEXT
Tagged:
#format
#date
#string
#python
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit