AUDIT TIME - Audit time (Reports & Settings Report Generator function)

From Catalyst
(Redirected from REF:rprgfaudit time)
Jump to: navigation, search

Syntax

$AUDIT_TIME{id, mode, N/T}

Description

Return the audit time for a Data ID.

Parameters

id
A text parameter that can not be omitted.
Each Platinum file that is given the ability to store created/modified/used or viewed details (using the "Data ID" system) is given it's own 6 character "Data ID". This is stored on the file and can be reported on in the usual way by using a variable (see A54 for the Accounts File).
mode
A text parameter that can be omitted (it defaults to "C").
C
The created details of the record.
M
The modified details of the record.
U
The used details of the record.
This is not implemented for all files.
V
The viewed details of the record.
This is not implemented for all files.
N/T
A text parameter that can be omitted (it defaults to "N").
N
Numeric result. This is the number of minutes since midnight. This is most commonly used for sorting purposes.
T
Text result. This is the time formatted for display, using the 24-hour clock, e.g. '08:30', '20:30'.

Returns

A text or numeric (depending on the parameters) value whose typical size is 5 characters.

See also

$TIME, $AUDIT_DATE, $AUDIT_PROG, $AUDIT_SITE, $AUDIT_TERM, $AUDIT_USER.

Feedback
Thank you for using our Knowledge Base, we value your feedback. Did you find this article useful? 'Yes' or 'No'
Keywords AND Misspellings
time, hours, minutes, seconds