Change GetTime() Method

Returns the date and time of the change, formatted as a string.

Function Signature

 string GetTime( [Variant format] )

Parameters

Parameter Type Description

format

Variant

(Optional) If int, a code telling how to format the date/time. If a User object, that user's date/time format preference will be used. If omitted, the format defaults as indicated in the following list.

Valid int format codes:

  • 1 – mm/dd/YYYY hh:mm:ss pp (default)
  • 2 – dd/mm/YYYY hh:mm:ss pp

("pp" denotes the AM/PM indicator)

Return

Type Description

string

The date the change was created in the given format.

Technical Details

SBM ModScript version: 11.3.

Notes

None.

Related Topics

Change