in reply to Re: Sorting by date
in thread Sorting by date
Just make sure that YYYY is in 4-digit format and MM or DD in 2-digit format.
Like in this case: 20040113 (for 2003, Jan. 13) may mean numerically different from 2004113 (this might mean 2004, Jan. 13 or 2004, Nov. 3)
Had you been using a database like MySQL, that shouldn't have been an issue.