Do we Have any function in Modified Java Script which can calculate the past no. of days by comparing current date.
for eg. we have AddDiff function which adds number of days/month/years.
In same way can we substract no. of days minus current date.
for eg. - i have to calculate no. of employees joined the company in last 180 days from the current date.