Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to remove time in datetime in python

import datetime
date_and_time = datetime.datetime(2019, 12, 30)
date = date_and_time.date()
print(date)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #remove #time #datetime #python
ADD COMMENT
Topic
Name
4+2 =