Tinderbox v11 Icon

day(aDate)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Date-time  [other Date-time operators]

 Number [about Number data type]

 v4.0.0

 Baseline

 As at baseline


day(aDate)

returns, as a Number, the day of the month from the aDate expression, which may simply be a date-type attribute value.

$MyNumber = day($MyDate); 

Alternatively, use Date.day.

The two-argument method, used to alter a Date, is documented separately: see day(aDate, dayNum).


See also—notes linking to here: