Put another way: unless you get the year into your dates, the year will get you just after new year.
Put another way: If the data already exists and is already segregated by year...
Also, POSIX or equivalent ISO date format YYYY/MM/DD hh:mm:ss is the most portable and most universally understood (human or program), and also best defined for sorting or other date manipulations.
That's all well and good for data you control the source of, but often you don't. You have to make do with what is, not with what you might like it to be. That's the real world.
Excuse me. Could you give me directions to Tipperary?
Ah now. If I were going there, I wouldn't be starting from here!
In reply to Re^4: sort based on date
by BrowserUk
in thread sort based on date
by suhailck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |