Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Hour - function of language VBScript

Description:
The hour of the day (integer 0-23).
Syntax:
Hour(time As Date) As Integer
Calling:
n = Hour(time)
Parameters:
time(Date) Date and time
Example:
VBScriptSelect and copy to clipboard

Dim tTime, nHour
tTime = Now()
nHour = Hour(tTime)  'nHour contains the number representing the current hour
PROMOTIC 9.0.0 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice