Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

# convert string to date

# convert string to date
from datetime import datetime

date_string = "2022-03-10 10:10:10"
print (datetime.fromisoformat(date_string))

2022-03-10 10:10:10
 
PREVIOUS NEXT
Tagged: #convert #string #date
ADD COMMENT
Topic
Name
9+4 =