A Class for Validating and Formatting Dates
By Tony Marston2005-04-16
Summary
It is always useful to have a standard way of validating and formatting dates. Hopefully this tutorial has demonstrated how easily this can be done by using functions defined within a date class. It should now be a straightforward process for you to take this source code and customise it for your own purposes.
The full source code for this class can be viewed here.
Tutorial Pages:
» A Class for Validating and Formatting Dates
» Defining the Class to Handle Dates
» Display date to the User
» Incrementing or Decrementing a Date
» Using this Class in Your Code
» Summary
