sysLib.extendTimeStampValue

The datetime value function sysLib.extendTimeStampValue converts a timestamp, time, or date into an extended or shortened timestamp, time, or date value. For example, if you have extensionItem defined as DDHH (day and hour), and provide a timeStampMask of DDHHMM (day, hour and minute), sysLib.extendTimeStampValue will return an extended value of DDHHMM. And if you have a extensionItem defined as YYYYMMDDHHMMSS (year, month, day, hour, minute and second) and provide a timeStampMask of YYYY (year), sysLib.extendTimeStampValue will return a shortened value of YYYY.


sysLib.extendTimeStampValue syntax diagram

extensionItem

The name of an item to be extended or shortened. This can be a timestamp, time or date.

timeStampMask

Defines the mask of the timestamp value returned by the function. For details on that mask, see TIMESTAMP.

Related reference
Datetime expressions
System words in alphabetical order