You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to calculate the difference between the 2 date objects?
For eg.:
let currentDate = new DateObject();
let previousDate = new DateObject(4,'days');
let difference = previousDate - currentDate; // Which will be 4 in number
Suggestion would help me out.
The text was updated successfully, but these errors were encountered:
How to calculate the difference between the 2 date objects?
For eg.:
let currentDate = new DateObject();
let previousDate = new DateObject(4,'days');
let difference = previousDate - currentDate; // Which will be 4 in number
Suggestion would help me out.
The text was updated successfully, but these errors were encountered: