MySQL SYSDATE() Function
Clash Royale CLAN TAG#URR8PPP
<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]-->
MySQL SYSDATE() Function
❮ MySQL Functions
Example
Return the current date and time:
SELECT SYSDATE();
Try it Yourself »
Definition and Usage
The SYSDATE() 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 (numeric).
Syntax
SYSDATE()
Technical Details
Works in: | From MySQL 4.0 |
---|
More Examples
Example
Return the current date and time + 1:
SELECT SYSDATE() + 1;
Try it Yourself »
❮ MySQL Functions