Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


8.4.8 Minute (return the minute for a specified time)

Purpose

Returns a one- or two-digit numeric in the range 0 to 59, representing the minute of the specified time.

Syntax
Minute ([Time])
Argument
Time

Write the time in hh:mm:ss format.

If an invalid value is specified for hh, an error occurs. However, if an invalid value is specified for mm or ss, no error occurs. Instead, the Minute command replaces the specified time with the equivalent valid time and returns the result.

For example, if 19:61:00 (a nonexistent time) were specified, the Minute command would replace the specified time with the valid time 20:01:00 and would return 1.

This value is optional. If you omit this value, the current time is assumed.

Description

The Minute command returns a one- or two-digit numeric in the range 0 to 59, representing the minute of the specified time.

JP1/Script version

Supported from JP1/Script 01-00.