The Following code will print out the date so that it's in a long date format including the appropriate suffix - i.e st, nd, rd. Here's the code in action: Thursday 12th May 2005
This script contains two functions (Leap Year Capable): First will check to validate a date value passed as a parameters. Second will check to validate two dates entered and compare/check first ...