Returns a numeric value, representing the seconds in a DateTime argument.
Second(DateTime)
Type Returned
Numeric(2)
Objects: Procedure, Transaction, Web Panel, Work Panel
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), RPG, Visual FoxPro (up to GeneXus X Evolution 3), Cobol
Suppose you only need to obtain the seconds part of a DateTime variable, attribute or expression.
&Sec= Second(Now())
// Now = 11/24/2010 02:42:39 PM
// &Sec = 39
Second method
Hour Function
Minute Function