Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

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:

36
Show Example »

❮ Complete VBScript Reference