Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
157 B
1
Indexable
Never
import datetime
from dateutil.parser import parse

date =datetime.datetime.now()
print(date)
current_date = str(date).split(' ')[0]
print(current_date)
Leave a Comment