Last Updated Date and Time (code snippet)


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


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


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