Quantcast
Viewing all articles
Browse latest Browse all 888

JavaScript - Subtract number of days from a date field

Can anyone provide sample code of how to subtract number of days (integer) from a date field in CRM?  I am very new to dates in JavaScript and I am not sure that just subtracting a number from a selected date (say 1/21/2013, for example) will give me the correct answer.  Thanks for your help!

Viewing all articles
Browse latest Browse all 888

Trending Articles