Timespan

The timespan can be specified in the following formats:

A .NET Timespan string

A string in the format [ws][-]{ d | [d.]hh:mm[:ss[.ff]] }[ws] for details see TimeSpan.Parse Method.

A simplified string

The string consists of a floating point number and a suffix that qualifies the unit (<number><suffix>).

Valid suffixes:

  • ms - milliseconds

  • s - Seconds

  • m - Minutes

  • h - Hours

  • d / D - Days

  • w / W - Weeks (7 days per week)

  • M - Months (30 days per month)

  • y / Y - Years (365 days per year)