JCL Help:TimeOfDateTimeToSeconds
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: TimeOfDateTimeToSeconds Function
Search in JCL Help
Search in all projects
Summary
Returns the number of seconds in a DateTime.
Pascal
function TimeOfDateTimeToSeconds(DateTime: TDateTime): Integer;
Parameters
Parameters | Description |
DateTime: TDateTime | The DateTime for which you want to know the number of seconds. |
Return Value
The number of seconds in the specified DateTime.
Description
Returns the number of seconds in a DateTime. Basically it extracts the hour, minutes and seconds from the date time and returns the result of the formula (3600 * Hours) + (60 * Minutes) + Seconds, but is much faster than doing it this way.
About
Unit
Donator
Heri Bender
Notes
The specified DateTime is assumed to be valid (with JCLDate negative years and dates > year 9999 are valid).
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page