Cicode Programming Reference > Cicode Function Categories > Timestamp Functions Introduction > TimestampCurrent

TimestampCurrent

Return the current system date and time as a TIMESTAMP variable.

Syntax

TimestampCurrent()

Return Value

A TIMESTAMP variable containing the current system date and time.

Related Functions

TimestampAdd, TimestampDifference, TimestampSub, TimestampToStr, TimestampCreate, TimestampFormat, TimestampGetPart, TimestampToTimeInt, TimeIntToTimestamp

Example

TIMESTAMP t1 = TimestampCurrent();

See Also

Timestamp Functions