DateInterval.Seconds

From Xojo Documentation

Property (As Integer )
aDateInterval.Seconds = newIntegerValue
or
IntegerValue = aDateInterval.Seconds

Supported for all project types and targets.

The number of seconds in the interval.