VBScript MinuteFunction
Complete VBScript Reference
The Minute function returns a number between 0 and 59 that represents the minutes of the hour.
Syntax
Minute(time)
| Parameter | Description |
|---|---|
| time | Required. An expression representing time. |
Examples
Example 1
<script type="text/vbscript">
document.write(Minute("13:45"))
</script>
document.write(Minute("13:45"))
</script>
The above example outputs:
45
Try it »
Example 2
<script type="text/vbscript">
document.write(Minute(Now()))
</script>
document.write(Minute(Now()))
</script>
The above example outputs:
document.write(Minute(Now()))
Try it »
Complete VBScript Reference Other Extensions