YugabyteDB
Ask AI Ask AI about""
    OR Ask AIAsk AI
    • Star us on Github YugabyteDB Github
    • Join us on Slack YugabyteDB Community Slack
    • Start Now
      • YugabyteDB Aeon
        YugabyteDB AeonTry our fully-managed cloud DBaaS for free.No credit card requiredSign up
      • YugabyteDB
        YugabyteDBTry our open source distributed SQL database on your laptop.Download
    • Products
      • YugabyteDB
        YugabyteDBThe open source distributed SQL database
      • YugabyteDB Anywhere
        YugabyteDB AnywhereSelf-managed cloud DBaaS
      • YugabyteDB Aeon
        YugabyteDB AeonFully-managed cloud DBaaS
      • YugabyteDB Voyager
        YugabyteDB VoyagerDatabase migration service
    • Develop
    • Integrations
    • API
      • SQL APIs
      • YSQL
        YSQL
      • YCQL
        YCQL
      • Clients
      • ysqlsh
        ysqlsh
      • ycqlsh
        ycqlsh
      • Management APIs
      • YugabyteDB Anywhere API
        YugabyteDB Anywhere API
      • YugabyteDB Aeon API
        YugabyteDB Aeon API
    • FAQ
    • Releases
      • YugabyteDB
        YugabyteDB
      • YugabyteDB Anywhere
        YugabyteDB Anywhere
      • YugabyteDB Aeon
        YugabyteDB Aeon
      • YugabyteDB Voyager
        YugabyteDB Voyager
      • YugabyteDB Clients
        YugabyteDB Clients
      • Tech Advisories
        Tech Advisories
    Docs Menu
      • Download
      • Join our community
        • Slack
        • Yugabyte University
        • GitHub
        • Yugabyte Friday Tech Talks
        • Forum
      • Contact Support
      1. YugabyteDB
      2. API
      3. YSQL
      4. Data types
      5. Date and time
      6. Semantics of the date-time data types
      v2.25 Preview Preview release - not for production
      v2025.1 STS Stable release with standard-term support v2.25 Preview Preview release - not for production v2024.2 LTS Stable release with long-term support v2024.1 STS Stable release with standard-term support v2.20 LTS Stable release with long-term support Unsupported versions
      Semantics of the date-time data types [YSQL]

      The semantics of the date-time data types

      • Contribute List Contribute
        Report a doc issue Suggest new content Edit this page Contributor guide

      The following subsections define the semantics of the date-time data types:

      • The date data type
      • The time data type
      • The plain timestamp and timestamptz data types
      • The interval data type and its variants
      YugabyteDB
      © 2025 YugabyteDB, Inc. All Rights ReservedPrivacy Policy | Terms of Service