Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

combine date and time python

import datetime
date = datetime.date(2012, 2, 12)
time = datetime.time(1, 30)
combined = datetime.datetime.combine(date, time)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combine #date #time #python
ADD COMMENT
Topic
Name
4+9 =