Skip to content
Tuto programming (2023-07-29 09H (Europe/Paris)) Python date class
Type to start searching
Tuto programming
  • Index
  • Tuto python
  • Tutos devops
  • Date {time,timedelta}
  • Python datetime
  • Python datetime module
  • Python datetime classes
Tuto programming
  • People
  • News
  • Asynchronous
  • Calendar
  • cron, crontab
  • Date {time,timedelta}
    • Databases date programming
    • Django Datetime and timezone programming
    • Python datetime
      • Python datetime module
        • Description
        • datetime classes
          • Python datetime classes
            • Python date class
              • Python date class
                • today
              • Show Source
              • today
            • Python datetime class
            • Python timedelta class
            • Python tzinfo class
      • Python zoneinfo module (PEP-0615, Support for the IANA Time Zone Database in the Standard Library Python 3.9+)
      • Python datetime libraries
    • Timezones
    • Javascript datetime management
    • Timezone and docker
  • string
  • files
  • Meta information
  • Index
  • Meta doc
  • Python date class
    • today
  • Show Source

Python date class ¶

See also

  • https://docs.python.org/dev/library/datetime.html#date-objects

today ¶

classmethod date.today()

    Return the current local date.

This is equivalent to date.fromtimestamp(time.time()).

Previous Python datetime classes
Next Python datetime class
© Copyright 2018-2023, DevOps people Built with sphinx 7.0.0 Python 3.11.3.
Last updated on Jul 29, 2023.
Created using Sphinx 7.0.0. and Material for Sphinx