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.
String Functions ASP / Getting Started
This tutorial will teach you all of the basic string functions available in ASP using VBScript. I will keep things concise as possible. The following is a list of the functions and an example of each.
VBScript Functions : The Len() Function ASP / Getting Started
In this series of our ASP Developer Articles, we will examine a new VbScript function called as ' The Len() Function'. With LEN functions you can calculate the length of the string. Following function calculates the length of a string taken from input area.
Visual Basic Script (VBScript) ASP / Miscellaneous
This tutorial describe: Using VBScript in ASP Pages, Mixing VBScript Statements with Static HTML Text, Variables and Expressions in VBScript, Arrays, "Collection" Class.
Playing With Times ASP / Date and Time
There are several different ways of displaying times. Using FormatDateTime and DatePart functions we can manipulate the time in many different ways.
Downloading Files with VBScript and ASP ASP / File Operations
Setting up a simple file downloading system with VBScript and ASP is no sweat.The primary use for a system like this is to allow downloading of any TEXT based file that would normally be served via a client's browser and be unable to be downloaded.
ASP SPLIT, REPLACE and JOIN String Functions ASP / Miscellaneous
The various string functions can be used interchangeably often. We will write the same script using SPLIT, REPLACE and JOIN to demonstrate all 3 functions and how they often are used for similar tasks. However, your programming situations may be especially suited for 1 out of 3 of the functions.
Working with Array : Remove An Item ASP / Getting Started
Working with arrays could be painful if you could not remove any item after adding them in an array. Arrays are very helpful in programming languages, but in ASP it is not so easy. VBScript does not contains strong functions to remove any item form your array list. Here there is a good ASP code block will be helpfull for your to remove and re-organized your array.
Functions and Subprocedures ASP / Getting Started
Functions and procedures provide a way to create re-usable modules of programming code and avoid rewriting the same block of code every time you do the particular task. If you don't have any functions/procedures in your ASP page, the ASP pages are executed from top to bottom, the ASP parsing engine simply processes your entire file from the beginning to the end.