Tinderbox v10 Icon

Date.day()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Property  [other Property 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


Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses


Date.day()

Date.day

Returns the 1 or 2 digit day for the Date-type attribute specified. Valid range 1-31.

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

$MyNumber = $MyDate.day; sets $MyNumber to 25

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

$MyDate.day = 20; sets the day of $MyDate to 20th of the month


See also—notes linking to here: