ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






FUNCTION:  Hour( )

Hour(Time)

The Hour function returns the hour by using the Time function as an argument.

The output is base upon a 24 clock (military time, values will run from 0 to 23).

Code:
<% =Hour(Time) %>

Output:
14