How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
ASP Date Tutorials
Ordinal dates (st, nd, rd, th)
What is an ordinal date? Or more accurately; which part of a date is the ordinal? In answer the first question; an ordinal date is a date that is part of an order (in my layman’s understanding) that is “Tuesday the second of August”, “Wednesday the third of August”.
Calculate time ago in asp
Now a days we often see websites that show date in the form of time ago format e.g 2 Days 12 Hours Ago
Add time period to date
Add time period to date
Displaying last modified date of any file
The scope of this code sample is focusing how to find and display of any file's last modified date & time. Probably, you've used to see some pages on web, written at bottom of page last modified date. Now we will create a simple code to do this.
How to modify expire date of a cookie
To create cookies in ASP is so easy. After creating cookies, you will store it in client's visitors. While creating cookies, you must notice to modify the expire date of cookies. Because life length of a cookies is in your hands. Dead or Alive!
Displaying The Date And Time
How to display the date and time in ASP, very simple functions.
Dynamicly Changing Copyright
This ASP script will auto-update the year displayed, I have coded this for changing copyright but you could use it for practically anything.
Executing Transact-SQL UPDATE statement
In this example, we will edit some records from a database. This source code helps us to edit records to database without slowing down database .
Format Date and Time
This little tutorial will teach you how to easily play with date and time function in ASP.
Date & Time
Show the server's current date and time in a formatted matter with ASP.
Always Updated Copyright
Never worry about your copyright being out of date again.
Validate logins with ASP, Access and cookies
This script will validate form input against field in a database. The script will connect to the database and query the database fields - if the form input matches the database, a cookie will be allocated which will remain across any further ASP pages, until destroyed. Page views of admin or member pages can then be validated by checking for the cookie, if the cookie is found, the user can continue and if the cookie is not found, the user is redirected back to the login screen.
ASP Authentication Using IP Address
This article explains how to control web application access by validating the user"™s login and password against a database using Active Server Pages. Once validated the IP Address of the user is ensure that the user has access to the database.
Complete E-mail Validation
If you use this code, with the changes suggested in the comments, you will be able to completely validate a submitted e-mail address. It checks for invalid characters, an invalid domain, and an invalid or missing MX record at the domain.