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
Calculate time ago in asp - ASP tutorial
Now a days we often see websites that show date in the form of time ago format e.g 2 Days 12 Hours Ago
More cool ASP tutorials:
Arrays in ASP
An introductory look at using arrays in ASP.
Active Server Pages Tutorial
This is a two-module tutorial that provides a step-by-step introduction to several ASP features. The tutorial shows how to build sample applications and demonstrates key concepts you'll need to understand when developing your own ASP pages. The introductory section explains what ASP is, how it works, and other technologies that can be used in conjunction with ASP to create active content on your Web site. The first module introduces the creation of an ASP page, and focuses on the collection and transfer of data. It covers: Write and Run an ASP Page, Send Information by Using Forms, Create a Guest Book, Display an Excel Spreadsheet in ASP. The second module covers: Rotate Information Randomly - Shows how to rotate ads on your Web page randomly, and Record Traffic with a Page Counter
Uploading files to the server hard disk using plain ASP
Step-by-step tutorial on how to upload files (images, etc) from the client browser to the server hard disk using plain ASP pages. Complete application source code is available for download including the code to upload and display uploaded files to the user in an eary to use and understand manner.
Making the Switch from ODBC to OLE DB
ODBC is great and all but for speed and reliability you should switch to OLE DB to power your database driven apps. This tutorial will show you how to do it two ways: in the global.asa and in any ASP page.
Uploading and inserting files (binary data) to the database
Step-by-step tutorial on how to upload files (images, text, other documents, etc) using plain ASP pages to the database. Every step has been explained in detail. Downloadable source code available.