Anonymous

Not logged in

  • Log in
SQLZoo

DATE and TIME Reference

From SQLZoo

Namespaces

  • Page
  • Discussion

More

  • More

Page actions

  • Read
  • View source
  • History

How to work with dates; adding, subtracting and formatting.

DATE and TIME Operations
Date and time types
Format a date and time
Specify a date
Match a range of dates
Subtract dates
INTERVAL of time
Components of date
Date functions
Date arithmetics
Select the oldest person
Select a record with the latest date
YYYYMMDD date format
Getting the latest record
Retrieved from "https://sqlzoo.net/w/index.php?title=DATE_and_TIME_Reference&oldid=517"

Navigation

  • SELECT basics
  • quiz
  • SELECT from world
  • quiz
  • SELECT from nobel
  • quiz
  • SELECT in SELECT
  • quiz
  • SUM and COUNT
  • quiz
  • JOIN
  • quiz
  • More JOIN
  • quiz
  • Using NULL
  • quiz
  • Self JOIN
  • quiz

Reference

  • NoSQL zoo
  • SELECT
  • Functions
  • SELECT .. WHERE
  • SELECT .. GROUP BY
  • SELECT .. JOIN
  • SELECT .. SELECT
  • INSERT .. VALUES
  • INSERT .. SELECT
  • UPDATE
  • DELETE
  • CREATE TABLE
  • CREATE VIEW
  • CREATE INDEX
  • DROP
  • ALTER
  • UNION
  • LEFT JOIN
  • NULL

Wiki tools

Wiki tools

  • Special pages

Page tools

Page tools

    User page tools

      More

      • What links here
      • Related changes
      • Printable version
      • Permanent link
      • Page information
      • Page logs
      • Powered by MediaWiki
      • This page was last modified on 10 July 2012, at 10:05.
      • Privacy policy
      • About SQLZoo
      • Disclaimers