Monday, 3 April 2017

How to subtract dates using Typescript

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...



via user1671308

No comments:

Post a Comment