Loading

MySQL Date Or Time Function Part-5

LOCALTIME Function:- LOCALTIME Function is used for returning the current date and time. Return format will be YYYY-MM-DD HH-MM-SS” (string) or as YYYYMMDDHHMMSS.uuuuuu (numeric) Syntax:- LOCALTIME() Example:- SELECT LOCALTIME(); Output:- 2023-02-12 09:37:02 LOCALTIMESTAMP Function:- LOCALTIMESTAMP

Continue Reading