This version is out of date, covering development from v7.0.0 to v7.5.6. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox 7 Icon

Date.hour


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Property   [other Property type actions]

 Item   [operators of similar scope]

 Date-time   [other Date-time operators]

 Baseline

 


$MyDate.hour

Returns the 1 or 2 digit hour for the Date-type attribute specified. Valid range 0-23.

If $MyDate is 25 Oct 1415 16:20 then:

$MyDate.hour returns 16

The operator may also be used to set the attribute's hour, using a valid figure

$MyDate.hour = 20 sets the hour to 20 (8 PM)