Name
today
Synopsis
today(hour
=0,minute
=0,second
=0.0)
Creates and returns a DateTime
instance
representing the local time for the given time (the default is
midnight) of today’s date.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.