This function is very useful, if you wish to get date of current SQL server date and time. You may use this function to fill some rows automatically with current time or using with DateDiff function to return the number between current time.
This is an useful but not known functions. If you wish to learn month of date stored in a database, you may use this function placing in a 'SELECT' sql statement
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.
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)
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 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.