Skip to content

MySQL Tutorial

Learn MySQL

Menu
  • Home
  • Data types
  • Functions
    • Aggregate Functions
    • Cast Functions
    • Comparison Functions
    • DATE Functions
    • Flow Control Functions
    • Math functions
    • String Functions
    • Window Functions
    • REGEXP Functions
    • JSON Functions
    • XML Functions
    • Information Functions
    • Encryption Functions

Category: MySQL

Learn MySQL Tutorial

MySQL CURTIME

January 1, 2024
| No Comments
| MySQL

The CURTIME function in MySQL is used to retrieve the current time in the format ‘HH:MM:SS’ (hours, minutes, seconds). This function does not require any arguments and is invoked without parentheses. When called, it returns the current server time. Example Here is a basic example of how to use the CURTIME function: SELECT CURTIME(); The […]

Read More »

MySQL CURRENT_TIMESTAMP

January 1, 2024
| No Comments
| MySQL

The CURRENT_TIMESTAMP function in MySQL is a date and time function that returns the current date and time in the format ‘YYYY-MM-DD HH:MM:SS’. It is commonly used to insert the current timestamp into a column when a new record is added to a table or to retrieve the current timestamp in queries. Key points Here […]

Read More »

MySQL CURRENT_TIME

January 1, 2024
| No Comments
| MySQL

The CURRENT_TIME function in MySQL is used to retrieve the current time in the format ‘HH:MM:SS’ (hours, minutes, and seconds). This function does not require any arguments and is quite straightforward to use. When called, it returns the current time at the moment the function is executed based on the server’s system clock. Example Here’s […]

Read More »

MySQL CURRENT_DATE

January 1, 2024
| No Comments
| MySQL

The MySQL CURRENT_DATE function is a date and time function that returns the current date in the format ‘YYYY-MM-DD’. This function does not require any arguments and is often used when you need to retrieve the current date within a MySQL query or as a default value for a column. Syntax Here’s a brief explanation […]

Read More »

MySQL CONVERT_TZ

January 1, 2024
| No Comments
| MySQL

The MySQL CONVERT_TZ function is used to convert a datetime value from one time zone to another. This function is particularly useful when dealing with datetime data that needs to be presented or manipulated in a different time zone than the one in which it is stored. Syntax Here is the basic syntax of the […]

Read More »

MySQL ADDTIME

January 1, 2024
| No Comments
| MySQL

The MySQL ADDTIME function is used to add a specified time interval to a given time value. It takes two arguments: the initial time value and the time interval to be added. The function returns a new time value after adding the specified interval. Syntax Here is the basic syntax of the ADDTIME function: ADDTIME(time_value, […]

Read More »

Posts pagination

Previous 1 … 24 25 26 … 39 Next

MySQL tutorial

  • MySQL Database
  • MySQL Create table
  • MySQL Insert
  • MySQL Update
  • MySQL Delete
  • MySQL Select
  • MySQL From
  • MySQL Where
  • MySQL Order By
  • MySQL Select distinct
  • MySQL AND
  • MySQL OR
  • MySQL IN
  • MySQL NOT IN
  • MySQL BETWEEN
  • MySQL LIKE
  • MySQL LIMIT
  • MySQL EXISTS
  • MySQL GROUP BY
  • MySQL HAVING
  • MySQL IS NULL
  • MySQL Joins
  • MySQL INNER JOIN
  • MySQL LEFT JOIN
  • MySQL RIGHT JOIN
  • MySQL CROSS JOIN
  • MySQL SELF JOIN
  • MySQL ROLLUP
  • MySQL Subquery
  • MySQL UNION
  • MySQL UNION ALL
  • MySQL EXCEPT
  • MySQL CASE
  • MySQL IF-THEN-ELSE

Recent Posts

  • MySQL SUBDATE function
  • MySQL STR_TO_DATE function
  • MySQL convert string to date
  • MySQL datetime format
  • MySQL create temporary table
  • MySQL current datetime
  • MySQL TRUNCATE
  • MySQL SHOW EVENTS
  • MySQL ALTER EVENT
  • MySQL DROP EVENT

© MySQL Tutorial 2025.