Difference between revisions of "TIMESTAMP()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[CDOW()]], [[DATE()]], [[DAY()]], [[DOW()]], [[DTOS()]], [[MONTH()]], [[SECONDS()]], [[SECS()]], [[STOD()]], [[TIME()]], [[WEEK()]], [[YEAR()]] | + | [[CDOW()]], [[DATE()]], [[DAY()]], [[DOW()]], [[DTOS()]], [[MONTH()]], [[SECONDS()]], [[SECS()]], [[STOD()]], [[TIME()]], [[TIMEOFDAY()]], [[WEEK()]], [[YEAR()]] |
==Description== | ==Description== |
Revision as of 07:07, 8 March 2016
Contents
Purpose
Function to return the current system date and time
Syntax
TIMESTAMP()
See Also
CDOW(), DATE(), DAY(), DOW(), DTOS(), MONTH(), SECONDS(), SECS(), STOD(), TIME(), TIMEOFDAY(), WEEK(), YEAR()
Description
The TIMESTAMP() function is used for returning the current system date and time in a fixed format. The return value is a 19-character string in the format "YYYY.MM.DD hh:mm:ss". The return value is unaffected by the SET DATE, SET CENTURY and SET MARK settings.
Example
update_time = timestamp()