Note that the _add_days, _add_years functions in query calculations take a date expression as an input while the same in a layout calculation takes a timestamp as an input. Hence while using layout calculations you need to convert the date to timestamp as shown below:
_add_years(date2timestamp(Today()),-1)
Popular Posts
Showing posts with label Layout Calculations. Show all posts
Showing posts with label Layout Calculations. Show all posts
Wednesday, March 3, 2010
Subscribe to:
Posts (Atom)