2662Form Dateshttp://www.codeave.com/asp/code.asp?u_log=117There 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. The first of two examples displays the current date with a range of days prior. The second displays the current date out of all the dates in a range of years.ASP > Tips and Tutorials > Date and TimeOct 10, 2006
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.
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 an it will tell you. The following 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
With DatePart() function in VBScript language you could take only some parts of current time and display/use in your applications. Following examples will show you and give a brief on this function. .
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.