August 2018
Intermediate to advanced
366 pages
10h 14m
English
The Python standard library provides support for such operations out of the box, so having any two of those:
>>> t = datetime.time(13, 30) >>> d = datetime.date(2018, 1, 11)
We can easily combine them into a single entity:
>>> datetime.datetime.combine(d, t) datetime.datetime(2018, 1, 11, 13, 30)