This script will sort an array of dates with the month spelled out.
It is done by converting the format into a more manageable form.
It can handle two-digit years with a set cutoff date to assume the year is 1900s (currently set to 40).
This script can handle many different date formats, even with them mixed together.
Supported Formats:
January 31, 2003
January 31, 03
Jan 31, 2003
Jan 31, 03
31 January 2003
31 January 03
31 Jan 2003
31 Jan 03
January 2003
January 03
Jan 2003
Jan 03
1/31/2003
1/31/03
Previous version (v1.0) published on
|