How Can We Help?
< All Topics
Print

$hours

Extracts “hours” information from a standard time value.

Syntax

$hours(time)

Parameters

timean 8-digit number, or an expression that evaluates to an 8-digit number, expressing valid time in the form HHMMSSTT

Return Value

Number.

Comments

The system variable $Time is often used for time.

Example

$hours($Time)

Evaluates to 23 when $Time has the value 23595999.

See Also

$minutes

$seconds

$ticks

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish