System.GetTime

string System.GetTime ( 

number TimeType )

Description

Gets the current time in a variety of formats.

Parameters

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)

Returns

(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.

ResultVariable

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

Availability

Standard

Pro

See also:  Related Actions