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

 

 

 

 

 

 

 

 

 

 

 

 

Hour

The Hour function extracts the hour portion of a time or datetime value and returns it. You should note that the hour returned is in the range 0 to 23 (commonly known as military time).

Response.Write "Current Hour = " & Hour(Now())


Likewise, you can extract other commonly used portions of the date such as Year, Month, Day, Minute and Seconds.

Orvado Technologies

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

Contact Us | Contribute | About | Site Map



"When your are playing for the national championship, it's not a matter of life or death. It's more important than that." - Duffy Daugherty

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