I need to temporarily modify a date parameter in a REST Get snap. The parameter ‘date_added’ uses the previous date:
date_added = Date.parse(Date.now().minusDays(1))
I need to change it to include the range August 1st to previous date. So, I’m thinking of something like this: 2021-08-01 - Date.parse(Date.now().minusDays(1)).
Can someone offer some examples on how I would code this? I’m not very familiar with the language in SnapLogic.