The time interval represented by the timespan value expressed in whole and fractional days.
Syntax
float timespan.TotalDays
Returns
A float that corresponds to the number of days represented by the timespan.
float
Sample
timespanSample.rfsvar a = dtl.New(1605, 11, 05, 6, 45, 32, 43); var b = dtl.New(1914, 7, 28, 5, 42, 21, 10); ... trace (b - a).TotalDays;
timespanSample.rfs
var a = dtl.New(1605, 11, 05, 6, 45, 32, 43); var b = dtl.New(1914, 7, 28, 5, 42, 21, 10); ... trace (b - a).TotalDays;
(b - a).TotalDays
112758.956122303
Figure 383. The trace message output of the script above
Related links
Search Highlighter (On/Off)