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
Give visitors to your site a way look up the time and date in any time zone, worldwide. Hundreds of countries and locations listed. Clock is hosted and maintained by onyoursite.com, displayed on your site through a short asp script.
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.
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.
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.
aspSmartDate provides you with all the functions you need for fast and efficient date processing within your ASP applications. The package includes Web Calendar, Date formatting, SQL date management, GMT date management, Date handling, Countdown, Conversions, and Elapsed time.
Using this component you can perform date and time formatting, calculate elapsed time, pause your ASP application, GMT date and time formating and much more.