GetTime (deprecated)
Exports the current Time in the format specified as the parameter. This action has been deprecated and is scheduled to be removed in a future release. It is recommended that you no longer use this action. Instead, use the ExportText action in the ExportToText action library and use the @TIME smart parameter.
Syntax
bool GetTime (StrParam)Parameters
The parameter specifies the display format for the current time.* = A single asterisk will use the
HH:MM:SS time format. However, you can combine any of the following
String values to define a different format:
- m = minute 1-59
- s = second 1-59
- h = 1-23
- mm, min, minute = two-digit minute, 01-59
- ss, sec, second = two-digit second, 01-59
- hh, hr, hour = two-digit hour, 01-23
":/'-" are the valid separators.
Returns
Always True.Level
Any level.Details
Exports the current Time in the format specified by the input parameter.- Example
GetTime("*") inserts the current time into the Export file with this format: 07:08:16 GetTime("hh-mm-ss") inserts the current time into the Export file with this format: 07-08-16 GetTime("ss:mm:hh") inserts the current time into the Export file with this format: 16:08:07