About 5,120,000 results
Open links in new tab
  1. Functions in MySQL | Numeric, String and Date Time Functions

    Sep 6, 2024 · In MySQL, functions play a crucial role in performing various operations on data, such as calculations, string manipulations, and date handling. These built-in functions simplify complex queries and data transformations, making it easier to …

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

    Aug 8, 2024 · The following tables list the Transact-SQL date and time functions. For more information about determinism, see Deterministic and Nondeterministic Functions.

  3. MySQL Date and Time Functions - GeeksforGeeks

    Apr 15, 2025 · MySQL’s date and time functions are essential tools for handling and manipulating temporal data within your databases. By mastering functions like NOW(), CURDATE(), DATE_ADD(), DATEDIFF(), and DATE_FORMAT(), you can easily work with time-based calculations, comparisons, and formats.

  4. 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. Functions that expect date values usually accept datetime values and ignore the time part.

  5. 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: Note: The date types are chosen for a column when you create a new table in your database! Look at the following table: Now we want to select the records with an OrderDate of "2008-11-11" from the table above.

  6. SQL Server Date and Time Functions with Examples

    Dec 31, 2024 · Learn SQL Server date and time functions SYSDATETIME, SYSDATETIMEOFFSET, SYSUTCDATETIME, CURRENT_TIMESTAMP, GETDATE (), DATENAME, DATEPART with examples.

  7. SQL Date Functions

    SQL date functions allow you to manipulate date and time effectively. You can use the date functions for various operations such as adding days to a date, calculating the difference …

  8. 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 functions used across these dialects. It’s time to become date and time gurus! Do you want to calculate how often employees are running late for work?

  9. 13.2 Date and Time Data Types - MySQL

    For descriptions of functions that operate on temporal values, see Section 14.7, “Date and Time Functions”. Keep in mind these general considerations when working with date and time types:

  10. Date Truncation with DATETRUNC () function in SQL Server

    Apr 10, 2025 · In SQL Server 2022, this got a lot easier to do using the DATETRUNC function. Solution Date / Time functions are crucial for working with data manipulations for exploratory data analysis. The standard requirements for datetime functions can be: Converting different datetime formats to a standard format.

Refresh