datetime.now() get the time without the date python code example Example: python get today's date without time now = datetime.date.today()