MySQL PERIOD_ADD() Function

MySQL PERIOD_ADD() function; In this tutorial, i am going to show youMySQL period_add() function with the help of examples. MySQL PERIOD_ADD() Function The PERIOD_ADD() function adds a specified number of months to a period. The PERIOD_ADD() function will return the result formatted as YYYYMM. Syntax of MySQL PERIOD_ADD() Function The syntax of the MySQL PERIOD_ADD() function … Read more

MySQL SECOND() Function

MySQL SECOND() function; In this tutorial, i am going to show you MySQL second() function with the help of examples. MySQL SECOND() Function SECOND() function in MySQL is used to return the second portion of a specified time or date-time value. The first parameter in this function will be the date/Date Time. This function returns the … Read more

MySQL MICROSECOND() Function

MySQL MICROSECOND() function; In this tutorial, i am going to show you MySQL microsecond() function with the help of examples. MySQL MICROSECOND() Function The MySQL Microsecond() function is used to return the microsecond part for a specified time or date-time value. The range of microsecond value is from 0 to 999999. For example, if the specified … Read more

MySQL MAKETIME() Function

MySQL MAKETIME() function; In this tutorial, i am going to show you MySQL maketime() function with the help of examples. MySQL MAKETIME() Function MySQL MAKETIME() makes and returns a time value from a given hour, minute and seconds. The value of hour may be greater than 24 but the value of minutes and second greater than … Read more

MySQL MAKEDATE() Function

MySQL MAKEDATE() function; In this tutorial, i am going to show you MySQL MAKEDATE() function with the help of examples. MySQL MAKEDATE() Function The MySQL makedate() function is used to create and return a date based on a year and a number of days value. The number of days must be greater than 0 otherwise it … Read more

MySQL LOCALTIMESTAMP() Function

MySQL LOCALTIMESTAMP() function; In this tutorial, i am going to show you MySQL LOCALTIMESTAMP() function with the help of examples. Mysql LOCALTIMESTAMP() Function MySQL LOCALTIMESTAMP() function is used to return the current date and time in the format of “YYYY-MM-DD HH-MM-SS” (string) or as YYYYMMDDHHMMSS. Syntax of Mysql LOCALTIMESTAMP() Function The basic syntax of this function is: … Read more

MySQL LOCALTIME() Function

MySQL Localtime() function; In this tutorial, i am going to show you MySQL localtime() function with the help of examples. MySQL  LOCALTIME() Function The LOCALTIME() function returns the current date and time. Note: The date and time is returned as “YYYY-MM-DD HH-MM-SS” (string) or as YYYYMMDDHHMMSS. uuuuuu (numeric). Syntax of MySQL  LOCALTIME() Function The syntax of … Read more

MySQL CURRENT TIMESTAMP Function

MySQL CURRENT TIMESTAMP Function; In this tutorial, i am going to show you MySQL current timestamp function with the help of examples. Mysql CURRENT_TIMESTAMP() Function In MySQL, the CURRENT_TIMESTAMP returns the current date and time in ‘YYYY-MM-DD HH:MM:SS’ format or YYYYMMDDHHMMSS. uuuuuu format depending on whether numeric or string is used in the function. NOW() and CURRENT_TIMESTAMP() … Read more

MySQL CURRENT_TIME() Function

MySQL CURRENT TIME function; Through this tutorial, i am going to show you MySQL current time function with help of examples. MySQL CURRENT_TIME() Function CURRENT_TIME() function in MySQL is used to check the current time. It returns the current time as a value in ‘hh:mm:ss’ or hhmmss format, depending on whether the function is used in … Read more