Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

TimeSerial

The TimeSerial function takes the individual components of a time value and converts them into a time variable. The parameters are the hour, minute and second. The system will use the local system settings to determine how this time will be represented.

Dim dTime
Const nHour = 12
Const nMinute = 59
Const nSecond = 59
dTime = TimeSerial(nHour, nMinute, nSecond)
Response.Write "Time: " & dTime


You may also use the DateSerial function to convert date components into a valid date variable.

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"Watching football is like watching pornography. There's plenty of action, and I can't take my eyes off it, but when it's over, I wonder why the hell I spent an afternoon doing it." - Luke Salisbury

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.