HOUR - Return the hour (Reports & Settings Report Generator function)
From Catalyst
Revision as of 11:40, 22 September 2016 by Les Ward (talk | contribs) (Les Ward moved page HOUR - Return the hour (Reports & Parameters Report Generator function) to HOUR - Return the hour (Reports & Settings Report Generator function))
Syntax
$HOUR{time, unit}
Description
Return the hour from a time.
Parameters
- time
- A numeric parameter that can be omitted.
- The time in numeric format, stored in seconds since midnight. If omitted, the current machine time is used.
- unit
- A text parameter that can be omitted (it defaults to "S").
- Is the given time in Minutes or Seconds?
- M
- Minutes
- S
- Seconds
Returns
A numeric value. The hour of the time given.