VBScript Minute Function

Definition and Usage

The Minute function can return a numeric value representing the minutes of an hour, ranging from 0 to 59.

Syntax

Minute(time)
Parameter Description
time Required. Represents a time expression.

Instance

Example 1

D = #1/15/2002 10:34:39 AM#
document.write(Minute(D))

Output:

34

Example 2

T = #10:34:39 AM#
document.write(Minute(T))

Output:

34