VBScript Minute Function


VBScript Reference 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:

3

Show Example »

VBScript Reference Complete VBScript Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: