Skip to main content
Nintex Community Menu Bar
Solved

NWC - Get Beginning and End of the week based on Current Date in FORMS

  • May 29, 2021
  • 1 reply
  • 187 views

Hi All,

 

Just checking if there's any way to get start and end date of the week based on the current date on Nintex forms.

 

18014i668A75B7AEED96A1.png

 

Any suggestions or ideas are welcomed.

 

TIA

Best answer by leighburke

@asharma One method would be using a form variable to work it out. You can use the format date function(https://help.nintex.com/en-US/nwc/Content/Designer/Functions/formatDate.htm) to find out the day of the week, then either add/subtract a number of days from the date based on the day using the ifElse and the dateAdd functions. 

1 reply

Forum|alt.badge.img+14
  • Nintex Employee
  • Answer
  • May 31, 2021

@asharma One method would be using a form variable to work it out. You can use the format date function(https://help.nintex.com/en-US/nwc/Content/Designer/Functions/formatDate.htm) to find out the day of the week, then either add/subtract a number of days from the date based on the day using the ifElse and the dateAdd functions.