Hour
- Last Updated: March 24, 2022
- 1 minute read
- Corticon
- Version 6.3
- Documentation
SYNTAX
<DateTime>.hour
<Time>.hour
<DateTime> or <Time>. The returned
value is based on a 24-hour clock. For example, 10:00 PM (22:00 hours) is returned as
22.USAGE RESTRICTIONS
The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
The following Rulesheet uses .hour to evaluatedateTime1 and assign the hour value to integer1. A sample Ruletest provides three examples
of dateTime1. Input and Output panels are shown
below. Notice that the hour returned is dependent upon the timezone of the machine
executing the rule. The hour returned is independent of the machine running the
Ruletest and only depends on the locale/timezone of the data itself.