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.
|
 |

|