| |
| |
You may use DateDiff function in an SQL statement to get the number of date and/or time between two dates. You may calculate days between two different date. The return number of DateDiff function can be year, month, day, hour, minute, second ....
|
|
|
| |
| |
I will teach you how to use the Now() command and display it 24 times and all of them be different. Example: use the Now() command and get Monday, 1 July, 2003.
|
|
|
| |
| |
There are several different ways of displaying times. Using FormatDateTime and DatePart functions we can manipulate the time in many different ways.
|
|
|
| |
| |
A short tip on passing info between pages via a query string.
|
|
|
| |
| |
Many times we need to perform an action or display something different based on some different parameters. Using If ElseIf End If is one such way to do this.
|
|
|
| |
| |
Many times we need to perform an action or display something different based on some different parameters. Using select case is one such way to do this.
|
|
|
| |
| |
Usage of the following math functions are shown: Abs(), Atn(), Cos(), Exp(), Fix(), Hex(), Int(), Log(), Oct(), Round(), Sgn(), Sin(), Sqr(), Tan().
|
|
|
| |
| |
Self explaining sort scripts to show how to compare strings: Basics, Compare two strings for similarity, Find position of a substrings within a string, Is a substrings within a string?, Find position of a substrings within a string after skipping part of the string.
|
|
|
| |
| |
Self explaining sort scripts to show how to manipulate strings. InStr(), LCase(), Left(), Len(), LenB(), LTring(), Mid(), Replace(), Right(), RTrim(), Space (), String(), StrReverse(), Trim() and UCase() commands.
|
|
|
| |
| |
An ASP-page has access to variables that contain information about the webserver and the clientcomputer. Using the Request.ServerVariables statement, you can get a list of all available server variables on screen.
|
|
|
| |
|