AnsweredAssumed Answered

based on todays date how can I figure out  previous Monday's date

Question asked by gouthamr388096 on Aug 18, 2017
Latest reply on Aug 18, 2017 by ankit.goyal349421

I have a requirement to pass From and To Dates to a NetSuite saved search. the requirement is that when I run the rport on a specific date, I need to pass the previous weeks dates i.e. previous Monday as From date and Saturday as To Date. 

so if today is 08/18/17, then I need to pass 08/07/17 as from date and 08/12/17 as to date and send these values as parameters to netsuite search.