Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Hour - function of language VBScript

Description:
Returns a integer (range from 0 to 23), inclusive, representing the hour of the day.
Syntax:
Hour(time As Date) As Integer
Calling:
n = Hour(time)
Parameters:
time(Date) any expression that can represent a time.
Example:
Dim tTime, nHour
tTime = Now
nHour = Hour(tTime) 'nHour contains the number representing the current hour
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice