Official Content

Returns a numeric value, representing the minutes of a DateTime argument.

Syntax

Minute(DateTime-Expression)

Type Returned:
Numeric

Scope

Objects: Procedure, Transaction, Web PanelWork Panel
Generators: .NET, Ruby (up to GeneXus X Evolution 3), Java, RPG, Visual FoxPro (up to GeneXus X Evolution 3)

Description

Returns a numeric value representing the minutes, given a DateTime argument.

Samples

You only want to obtain the minute part of a datetime variable or attribute.

&Min= Minute(Now())
// Now = 11/24/2010 02:42 PM
// &Min = 42

See Also

TimeZone Support - General Considerations
Minute method
Hour Function
Second Function








Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant