In this source code, you may see how can you display date in diffrent formats. This simple ASP code displays current time in short, long and regional settings.
Self explaining sort scripts to compare dates. You may use them to display your age, time period fromm a given date or happening etc. (DateDiff, Timer)
There are a number of ways to have users input dates into your application. Dropdown menus are the preferred method employed as there
will certainly be less error checking on dropdown input as compared to textbox
input. Utilizing the date() functions the current date (or any date you prefer by adjusting the date value) can easily be made the pre-filled selected
value. Here you will find two examples: one that displays the current date with a range of days prior, and the other that displays the current date out of all the dates in a range
of years.
The author writes "Many places on the web feature the date that the current document was last modified on. Rather than changing the date manually, using a FrontPage WebBot, or targeting the document by writing it directly into the script, let the server ask the document for the info and it will tell you. This scriptwriter will output code that can be placed on any .asp document on your server and will display the date and time it was last modified in a number of varieties."
There are several different ways of displaying dates. You can also add and subtract from them as well. Using the FormatDateTime function we can display dates in any manner.