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 occurs before the second. Functions will return a blank string if the Date(s) is/are valid. They will retun a string containing an error message if Date(s) is/are NOT valid. You could pass the field name as parameter to generate a custom Error message for the field you are checking or pass a blank string as a field name to generate a generic error message.
Allows you to format the current date and time, displaying weekday, date, month and year as well as adding "st", "nd", "rd" and "th" to the date as appropriate
StrongCube Tools Component helps you to format your number and date/time into VB style formatting routine. You can easily format your number into #,##0.00 or your date/time into dd/mm/yyyy.
ECS DateTime is a server-side component that can be used to access NTP Servers. It can be implemented on ASP pages or from any other COM enabled environment.
Displaying the date last modified is a simple thing to do. All it takes is calling up the ol File Scripting Object and there you have it! The last modified date, dynamically. Every time the file is modified this info is written into the file. The FSO knows just how to read that for you.
Based around the functionality of the PHP date() function, it returns date and time information in a format based upon arguments it is fed. Essentially, it takes one date string/object and transforms it to a different format. The ASP FormatDateTime function is extremely limited. This provides an alternative which gives you far greater control over how the date is returned.