DateUtils.SecondSpan
From RAD Studio VCL Reference
Contents |
Delphi Information
From DateUtils.pas
function SecondSpan(const ANow: TDateTime; const AThen: TDateTime): Double;
Unit: DateUtils
Type: function
Visibility: public
C++ Information
From DateUtils.hpp
double __fastcall SecondSpan(System::TDateTime ANow, System::TDateTime AThen);
Unit: DateUtils
Type: function
Description
Returns the number of seconds (including fractions thereof) between two specified TDateTime values.
Call SecondSpan to obtain the difference, in seconds, between two TDateTime values. Unlike the SecondsBetween function, which only counts entire seconds, SecondSpan reports incomplete seconds as a fraction of an entire second.
See Also
Code Samples