HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Return a datetime value based on the arguments
The TIMESTAMP() function returns a datetime value based on a date or datetime value.
TIMESTAMP(expression, time)
Parameter | Description |
---|---|
expression | Required. A date or datetime value |
time | Optional. A time value to add to expression |
Works in: | From MySQL 4.0 |
---|
Return a datetime value based on the arguments:
SELECT TIMESTAMP("2017-07-23");