On Wed, Sep 16, 2015 at 8:55 AM, Nick Sarbicki <nick.a.sarbi...@gmail.com>
wrote:

> Just in the case you didn't figure it out:
>
>  >>> datetime.datetime.today()
> datetime.datetime(2015, 9, 16, 14, 50, 47, 700828)
> >>> datetime.date.today()
> datetime.date(2015, 9, 16)
>

Yeah, I was aware of that. That is partly why I thought
datetime.datetime.today() would return a date object. In English, "today"
and "now" mean different things, so it makes some sense that they would
behave differently as methods of datetime objects.

Thx,

S
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to