TIMESTAMP()

From Lianjapedia
Jump to: navigation, search

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()