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

    The most difficult part when working with dates is to be sure that the format of the date you are trying to insert, matches the format of the date column in the database.

  2. DATE function - Microsoft Support

    You can use the DATE function to create a date that is based on another cell’s date. For example, you can use the YEAR, MONTH, and DAY functions to create an anniversary date that’s …

  3. SQL | Date Functions - GeeksforGeeks

    Nov 22, 2025 · SQL Date Functions are built-in tools used to handle, modify, and analyze date/time values in a database. They help perform tasks like retrieving current dates, …

  4. How to Write Common Date Functions in SQL with Examples

    Mar 13, 2023 · SQL provides a variety of date functions that can assist you with your task. In this tutorial, we will look at various common date functions in SQL and some examples to show …

  5. SQL Date Functions and GETDATE Explained with Syntax Examples

    Dec 27, 2024 · In this comprehensive 2800+ word guide, I‘ll break down the most essential SQL date functions clearly and concisely, using easy-to-understand examples. You‘ll learn:

  6. 14.7 Date and Time Functions - MySQL

    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: The query also selects rows with dates that lie in the future. …

  7. SQL DATE Functions

    May 18, 2021 · In this tutorial we will explore several SQL Date Functions and show many examples of the date functions usage. Below is a list of SQL Date functions with descriptions, …

  8. DATE – SQL Tutorial

    Apr 30, 2023 · In SQL, the DATE data type is used to store dates, without any time information. This data type is useful when you need to store information about dates, such as birthdays, …

  9. Date and time functions (reference) - Microsoft Support

    Use date and time functions to create formulas that return serial numbers, display a specific date or time, or that calculate the difference between dates or times.

  10. PostgreSQL: Documentation: 18: 8.5. Date/Time Types

    Nov 13, 2025 · PostgreSQL supports the full set of SQL date and time types, shown in Table 8.9. The operations available on these data types are described in Section 9.9. Dates are counted …