Returns the seconds portion from a DateTime expression.
SEC(tExpression) |
Parameters
- tExpression
-
Specifies the DateTime expression from which SEC( ) returns the second. If tExpression contains only a date and not a time, Visual FoxPro adds a default time of 12:00:00 AM (if SET HOURS is 12) or 00:00:00 (if SET HOURS is 24) to tExpression to produce a valid DateTime value.
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08