Date.hour

Tinderbox Icon


Operator Type:   Property
Operator Scope of Action:   Item
Operator Purpose:   Date-time

$MyDate.hour

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

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)


Possible relevant notes (via "Similar Notes" feature):

Up: Item-based operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : Date.hour

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox