I am trying to use gettime to sort my date string. But it is returning some vague values like.
- 1428303000000 16/06/2014 16:50
- 1389074040000 01/07/2014 16:54
The first date is smaller than second so its no. of milliseconds should also be smaller.
You can also check it on http://www.tutorialspoint.com/cgi-binpractice.cgi?file=javascript_178
So don't know why this is behaving like this.
Any help ?