@TIMEPARTS — parses a time and indicates which parts were specified.

Syntax:
%@TIMEPARTS[time]

timethe time to examine

If the time is not a valid time, the return value is 0.

If the specified time is valid, then this function returns a bitmapped value:

16the time is in 12-hour (AM/PM) format
8the hour was specified
4the minute was specified
2seconds were specified
1fractional seconds were specified

A valid time will always have the 8 bit set, and either 16 or 4 or both. In other words, a time must include the hour; minutes are required in 24-hour format, but optional in 12-hour format; seconds and fractional seconds are always optional.