About 1,050,000 results
Open links in new tab
  1. Date Functions in SQL Server and MySQL - W3Schools

    SQL Server comes with the following data types for storing a date or a date/time value in the database: DATE - format YYYY-MM-DD DATETIME - format: YYYY-MM-DD HH:MI:SS

  2. Date and time data types and functions (Transact-SQL)

    Aug 8, 2024 · Use the FORMAT function for locale-aware formatting of date/time and number values as strings. CAST and CONVERT Provides information about the conversion of date …

  3. MySQL Date and Time Functions - GeeksforGeeks

    Apr 15, 2025 · MySQL provides a variety of date and time functions that help users work with date values, perform calculations, and format them as needed. These functions allow developers to …

  4. SQL Date and Time (With Examples) - Programiz

    In SQL, there are different data types to help us work with dates and times. In this tutorial, you will learn about date and time data types in SQL with the help of examples.

  5. SQL Server Date and Time Functions with Examples

    Dec 31, 2024 · Learn SQL Server date and time functions SYSDATETIME, SYSDATETIMEOFFSET, SYSUTCDATETIME, CURRENT_TIMESTAMP, GETDATE (), …

  6. SQL Date Functions

    This section shows you how to get the current date, time, and timestamp value using various date and time retrieval functions. CURRENT_DATE – Returns a date value that represents the …

  7. MySQL :: MySQL 9.3 Reference Manual :: 14.7 Date and Time

    Here is an example that uses date functions. The following query selects all rows with a date_col value from within the last 30 days: . mysql> SELECT something FROM tbl_name-> WHERE …

  8. DATETIME - SQL Tutorial

    In SQL, the DATETIME data type is used to represent date and time values. It is a composite data type that combines the DATE and TIME data types. The DATETIME data type is commonly …

  9. SQL DATETIME | Date and Time Data Types and Functions

    Feb 21, 2025 · In SQL, datetime data type is used for values that contain both date and time. Microsoft defines it as a date combined with a time of day with fractional seconds that is based …

  10. SQL Date and Time Functions in 5 Popular SQL Dialects

    Oct 27, 2021 · In this article, I summarize the date and time data types used in PostgreSQL, Oracle, SQLite, MySQL, and T-SQL. I also provide examples with the key SQL date and time …

  11. Some results have been removed
Refresh