Minute Function in VB.NET

What function is used to return the minute value of the given date and time in VB.Net?

Explanation

Minute Function

Minute Function in Visual Basic.net 2008 returns an integer value in the range 0 to 59, that represents the minute of the hour.
Syntax:

Minute(Expression)
Example:

Module Module1
Sub Main()
Console.WriteLine("Current minute of the hour is
:: " & Minute(Now))
Console.ReadLine()
End Sub
End Module

In the above example, the current minute of the hour is represented in an integer value using minute function.

Visual Basic Tutorial


Ask Questions

Ask Question