Tutorials References Menu

VBScript Minute Function


❮ Complete VBScript Reference

The Minute function returns a number between 0 and 59 that represents the minute of the hour.

Syntax

Minute(time)

Parameter Description
time Required. Any expression that can represent a time

Examples

Example 1

<%

response.write(Minute("13:45"))

%>

The output of the code above will be:

45
Show Example »

Example 2

<%

response.write(Minute(Now()))

%>

The output of the code above will be:

4
Show Example »

❮ Complete VBScript Reference