ruchiverma2601
7th May 2009, 18:20
I want to retrieve the current system date and subtract it with 1 and assign it to a form field... Can any one suggest me how to go about it.
Thanks in advance
You can use date.num() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_date_time_zones_date_num) -1 and then use num.to.date() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_date_time_zones_num_to_date) to convert it to regular date format if required.