how to compare start and end date in ionic 2
It’s a generic typescript thing.
date1.getDate() >= date2.getDate().
Get date returns a timestamp in milliseconds since epoch. You should be able to do whatever you want with it.
It’s a generic typescript thing.
date1.getDate() >= date2.getDate().
Get date returns a timestamp in milliseconds since epoch. You should be able to do whatever you want with it.