KellyBianchi
9 years agoQrew Assistant Captain
How do I create a formula that moves the date/time 7 days ahead?
Kirk Trachy helped me with this formula today, but one part I left out is that the the date field was actually a date/time field, so I also need the exact time to be represented one week into the future (fid 13):
var text url =
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] & "&apptoken=vsiemiczqajhgb9m982fds3fgt4" &
"&_fid_23="&[Next Sale Date] &
"&_fid_13="&WorkdayAdd(ToWorkDate(Today()),7)&
"&_fid_14=0"&
"&_fid_16=0"&
"&_fid_17=0";
"javascript:" & "$.get('" & $url & "', function(){" & "location.reload();" &
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545}
"});" & "void(0);"