Date-time operators

Tinderbox Icon

Date accessors and manipulator operators are available for rules and actions:

Note that unlike the ^export codes (now deprecated for internal use), the action code way to format a date string is to call the date operator within the format() operator.

Date examples:

date(2004,7,23,16,45) 23 July 2004 4:45pm 

If $Date is July 4, 2009 then

day($Date) 4

If $Date is July 4,2009, then


will change $Date to July 5, 2009.

If $Date is July 4, 2009 then

month($Date) 7

If $Date is July 4,2009, then


will change $Date to May 4, 2009.

Up: Action Operator Types
Previous: Data manipulation operators  Next: Formatting operators 

[Last updated: 14 Dec 2009, using v5.0]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox