SEC( ) Function

Example   See Also

Returns the seconds portion from a DateTime expression.

Syntax

SEC(tExpression)

Returns

Numeric

Arguments

tExpression

Specifies the DateTime expression from which SEC( ) returns the second. If tExpression contains only a date and not a time, Visual FoxPro adds the default time of midnight (12:00:00 A.M.) to tExpression.