Tinderbox v10 Icon

hour(aDate)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

Operator Has Newer Dot-Operator Variant: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Date-time  [other Date-time operators]

 Number [about Number data type]

 v5.7.0

 Baseline

 As at baseline

Yes


hour(aDate)

returns the hour element from the aDate date/time expression, which may simply be a date-type attribute value.

Alternatively, use Date.hour.

The two-argument merthod used to set Dates is documented separately: see hour(aDate, hoursNum).


See also—notes linking to here: