Get Date

This Automation Manager object returns the current date in a specified format.

Privileges

Normal

Input Parameters

Name Type Required Description
Date Format String No The format for the date.

Output Parameters

Name Type Description
Date Result String String The current date in a specified format. See examples below.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Format Example
Date Format String No dddd, MMMM dd, yyyy h:mm:ss tt Monday, May 28, 2012 11:35:00 AM
dddd, MMMM dd, yyyy Monday, May 28, 2012
h:mm:ss tt 11:35:00 AM
MMMM dd May 28
ddd, dd MMM yyyy HH':'mm':'ss 'GMT' Mon, 28 May 2012 11:35:00 GMT
M/d/yyyy 5/28/2012
h:mm tt 11:35 AM
yyyy'-'MM'-'dd'T'HH':'mm':'ss 2012-05-28T11:35:00
yyyy'-'MM'-'dd HH':'mm':'ss'Z' 2012-05-28 11:35:00Z
MMMM, yyyy May, 2012