powered by
A duration of six months, 3 days, and 12 hours could be represented as P6M3DT12H.
ConstructDurationString( years = 0, months = 0, days = 0, hours = 0, minutes = 0, seconds = 0 )
The duration string, specified compatibly with ISO8601.
integer. The number of years in the duration.
integer. The number of months in the duration.
integer. The number of days in the duration.
integer. The number of hours in the duration.
integer. The number of minutes in the duration.
integer. The number of seconds in the duration.
ConstructDurationString() ConstructDurationString(days = 100) ConstructDurationString(years = 10, months = 2, days = 5, seconds = 12)
Run the code above in your browser using DataLab