Javascript date comparision



Here, i am going to give you very useful tips about

Javascript Date.

Some time you may face situation like this you need to compare two Javascript date less than, more than or equal.

I am here comparing two specific Date with current Date.

when current date lies between start_date and end_date or match then it will alert ‘true’ otherwise ‘false’