Last Updated Date and Time (code snippet)

Description

The LastUpdated() function allows the Updated date-time-stamp to be retrieved from any record.

Prior to fh Version 6 it only returned the Date portion, but now in Plugins it also returns the Time portion, although that feature is undocumented.

Requires: None

Code

local datDate, intHour, intMins = fhCallBuiltInFunction("LastUpdated",ptrRec)

Note

In fh Version 5 the hour and minute variables are set to nil.