total_seconds¶ In std/time. fn total_seconds(self: Duration) : Decimal The length of self in seconds, exactly: PT1.5S is 1.5.