# GetClock

The GetClock function inserts a formatted text string representing the current date and time into the spreadsheet.

## GetClock Inputs

Parameter | Description
Time | Returns the current date and time as a string constructed using a "C" library standard Format string from a Time data structure.
Format String | Specifies the format for the display of the date and time. The default Format String is month/day/year hour:minute:second, which is represented as %m/%d/%Y %H:%M:%S. The following variables are allowed:
%m | month
%d | day
%Y | year
%H | hour
%M | minute
%S | second
%3N | millisecond
%6N | microsecond
%9N | nanosecond
Local/GMT | 0 = Local with Daylight Saving Time (default) 1 = GMT (UTC) 2 = Local with Standard Time

## GetClock Outputs

Returns | A formatted string containing the date and time.
Results | The Time/Timer Vision Data Access functions, GetTime, is automatically inserted into the spreadsheet.