# Now

Reads the date and time from the internal clock of the vision system when the specified event occurs. The GetClock function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. inserts a formatted text string representing the current date and time when the event happens into the spreadsheet.

Inputs

The Now function has the following syntax:

Now(Event)

See the table for a description of the available parameters.

Parameter | Description
Event | Specifies the update event on which to read the date and time. This parameter must be a reference a cell containing the AcquireImage or Button function.

Outputs

Returns | A Time data structure containing the current date and time, or #ERR if the input Event value is invalid.
Results | The GetClock function is automatically inserted into the spreadsheet.