|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

System.GetTime

OverviewExamples

string System.GetTime ( number TimeType )


De s cr ip t ion


Gets the current time in a variety of formats.


P arame t er s


TimeType


(number) Return the time in the format:



CONSTANT


VALUE DESCRIPTION


TIME_FMT_MIL


0


Military Time (HH:MM:SS)


TIME_FMT_AMPM


1


AM/PM Time (HH:MM:SS AM/PM)


TIME_FMT_SEC


2


Seconds (SS)


TIME_FMT_MIN


3


Minutes (MM)


TIME_FMT_HOUR


4


Hours (HH)


Re t u r n s


(string) The time in the format specified by TimeType. If an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|