I am doing sample application in NodeJS using Typescript ,i want to subtract two dates using type script , var fromDate = new Date(item.leave_from_date); var endDate = new Date(item.leave_to_date);
endDate-fromDate
Thanks...
No comments:
Post a Comment