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

Timestamp Functions

The following functions are used to interface with the TIMESTAMP data type.

TimestampAdd Adds time (in part of) to a TIMESTAMP variable.
TimestampCreate Returns a timestamp variable created from the parts.
TimestampToStr Converts a TIMESTAMP variable into a string.
TimestampDifference Returns a difference between two TIMESTAMP variables as a number of milliseconds.
TimestampCurrent Returns the current system date and time as a TIMESTAMP variable.
TimestampFormat Format a TIMESTAMP variable into a string.
TimestampGetPart Returns one part (year, month, day, etc) of the timestamp variable.
TimeIntToTimestamp Converts a time INTEGER which is represented as a number of seconds since 01/01/1970 to a TIMESTAMP
TimestampSub Subtracts time (in part of) from a TIMESTAMP variable.
TimestampToTimeInt Converts a TIMESTAMP variable into a time INTEGER which is represented as a number of seconds since 01/01/1970.
VariableTimestamp Extracts the timestamp from a given variable.

See Also

Cicode Functions