descriptor 'time' of 'datetime.datetime' object needs an argument

class datetime.datetime

A combination of a date and a time. Attributes: year, month, day, hour, minute, second, microsecond, and tzinfo.

>>> import datetime

>>> endDateTime = datetime.datetime(2015, 2, 1, 14, 30, 00)
>>> endDate = datetime.date(2015, 2, 1)
>>> endTime = datetime.time(14, 30, 00)

>>> now = datetime.datetime.now()
>>> endTime = datetime.datetime(now.year, now.month, now.day, now.hour, now.minute, now.second)