diff --git a/docs/standard/base-types/custom-timespan-format-strings.md b/docs/standard/base-types/custom-timespan-format-strings.md index 58e9728dd904f..018670d7e0e06 100644 --- a/docs/standard/base-types/custom-timespan-format-strings.md +++ b/docs/standard/base-types/custom-timespan-format-strings.md @@ -39,53 +39,53 @@ Custom format strings are also used by the
More information: [The "d" custom format specifier](#dSpecifier).|`new TimeSpan(6, 14, 32, 17, 685):`

`%d` --> "6"

`d\.hh\:mm` --> "6.14:32"| -|"dd"-"dddddddd"|The number of whole days in the time interval, padded with leading zeros as needed.

More information: [The "dd"-"dddddddd" custom format specifiers](#ddSpecifier).|`new TimeSpan(6, 14, 32, 17, 685):`

`ddd` --> "006"

`dd\.hh\:mm` --> "06.14:32"| -|"h", "%h"|The number of whole hours in the time interval that aren't counted as part of days. Single-digit hours don't have a leading zero.

More information: [The "h" custom format specifier](#hSpecifier).|`new TimeSpan(6, 14, 32, 17, 685):`

`%h` --> "14"

`hh\:mm` --> "14:32"| -|"hh"|The number of whole hours in the time interval that aren't counted as part of days. Single-digit hours have a leading zero.

More information: [The "hh" custom format specifier](#hhSpecifier).|`new TimeSpan(6, 14, 32, 17, 685):`

`hh` --> "14"

`new TimeSpan(6, 8, 32, 17, 685):`

`hh` --> 08| -|"m", "%m"|The number of whole minutes in the time interval that aren't included as part of hours or days. Single-digit minutes don't have a leading zero.

More information: [The "m" custom format specifier](#mSpecifier).|`new TimeSpan(6, 14, 8, 17, 685):`

`%m` --> "8"

`h\:m` --> "14:8"| -|"mm"|The number of whole minutes in the time interval that aren't included as part of hours or days. Single-digit minutes have a leading zero.

More information: [The "mm" custom format specifier](#mmSpecifier).|`new TimeSpan(6, 14, 8, 17, 685):`

`mm` --> "08"

`new TimeSpan(6, 8, 5, 17, 685):`

`d\.hh\:mm\:ss` --> 6.08:05:17| -|"s", "%s"|The number of whole seconds in the time interval that aren't included as part of hours, days, or minutes. Single-digit seconds don't have a leading zero.

More information: [The "s" custom format specifier](#sSpecifier).|`TimeSpan.FromSeconds(12.965)`:

`%s` --> 12

`s\.fff` --> 12.965| -|"ss"|The number of whole seconds in the time interval that aren't included as part of hours, days, or minutes. Single-digit seconds have a leading zero.

More information: [The "ss" custom format specifier](#ssSpecifier).|`TimeSpan.FromSeconds(6.965)`:

`ss` --> 06

`ss\.fff` --> 06.965| -|"f", "%f"|The tenths of a second in a time interval.

More information: [The "f" custom format specifier](#fSpecifier).|`TimeSpan.FromSeconds(6.895)`:

`f` --> 8

`ss\.f` --> 06.8| -|"ff"|The hundredths of a second in a time interval.

More information: [The "ff" custom format specifier](#ffSpecifier).|`TimeSpan.FromSeconds(6.895)`:

`ff` --> 89

`ss\.ff` --> 06.89| -|"fff"|The milliseconds in a time interval.

More information: [The "fff" custom format specifier](#f3Specifier).|`TimeSpan.FromSeconds(6.895)`:

`fff` --> 895

`ss\.fff` --> 06.895| -|"ffff"|The ten-thousandths of a second in a time interval.

More information: [The "ffff" custom format specifier](#f4Specifier).|`TimeSpan.Parse("0:0:6.8954321")`:

`ffff` --> 8954

`ss\.ffff` --> 06.8954| -|"fffff"|The hundred-thousandths of a second in a time interval.

More information: [The "fffff" custom format specifier](#f5Specifier).|`TimeSpan.Parse("0:0:6.8954321")`:

`fffff` --> 89543

`ss\.fffff` --> 06.89543| -|"ffffff"|The millionths of a second in a time interval.

More information: [The "ffffff" custom format specifier](#f6Specifier).|`TimeSpan.Parse("0:0:6.8954321")`:

`ffffff` --> 895432

`ss\.ffffff` --> 06.895432| -|"fffffff"|The ten-millionths of a second (or the fractional ticks) in a time interval.

More information: [The "fffffff" custom format specifier](#f7Specifier).|`TimeSpan.Parse("0:0:6.8954321")`:

`fffffff` --> 8954321

`ss\.fffffff` --> 06.8954321| -|"F", "%F"|The tenths of a second in a time interval. Nothing is displayed if the digit is zero.

More information: [The "F" custom format specifier](#F_Specifier).|`TimeSpan.Parse("00:00:06.32")`:

`%F`: 3

`TimeSpan.Parse("0:0:3.091")`:

`ss\.F`: 03.| -|"FF"|The hundredths of a second in a time interval. Any fractional trailing zeros or two zero digits aren't included.

More information: [The "FF" custom format specifier](#FF_Specifier).|`TimeSpan.Parse("00:00:06.329")`:

`FF`: 32

`TimeSpan.Parse("0:0:3.101")`:

`ss\.FF`: 03.1| -|"FFF"|The milliseconds in a time interval. Any fractional trailing zeros aren't included.

More information:|`TimeSpan.Parse("00:00:06.3291")`:

`FFF`: 329

`TimeSpan.Parse("0:0:3.1009")`:

`ss\.FFF`: 03.1| -|"FFFF"|The ten-thousandths of a second in a time interval. Any fractional trailing zeros aren't included.

More information: [The "FFFF" custom format specifier](#F4_Specifier).|`TimeSpan.Parse("00:00:06.32917")`:

`FFFFF`: 3291

`TimeSpan.Parse("0:0:3.10009")`:

`ss\.FFFF`: 03.1| -|"FFFFF"|The hundred-thousandths of a second in a time interval. Any fractional trailing zeros aren't included.

More information: [The "FFFFF" custom format specifier](#F5_Specifier).|`TimeSpan.Parse("00:00:06.329179")`:

`FFFFF`: 32917

`TimeSpan.Parse("0:0:3.100009")`:

`ss\.FFFFF`: 03.1| -|"FFFFFF"|The millionths of a second in a time interval. Any fractional trailing zeros aren't displayed.

More information: [The "FFFFFF" custom format specifier](#F6_Specifier).|`TimeSpan.Parse("00:00:06.3291791")`:

`FFFFFF`: 329179

`TimeSpan.Parse("0:0:3.1000009")`:

`ss\.FFFFFF`: 03.1| -|"FFFFFFF"|The ten-millions of a second in a time interval. Any fractional trailing zeros or seven zeros aren't displayed.

More information: [The "FFFFFFF" custom format specifier](#F7_Specifier).|`TimeSpan.Parse("00:00:06.3291791")`:

`FFFFFF`: 3291791

`TimeSpan.Parse("0:0:3.1900000")`:

`ss\.FFFFFF`: 03.19| +|`"d"`, `"%d"`|The number of whole days in the time interval.

More information: [The `"d"` custom format specifier](#dSpecifier).|`new TimeSpan(6, 14, 32, 17, 685):`

`%d` --> "6"

`d\.hh\:mm` --> "6.14:32"| +|`"dd"`-`"dddddddd"`|The number of whole days in the time interval, padded with leading zeros as needed.

More information: [The `"dd"`-`"dddddddd"` custom format specifiers](#ddSpecifier).|`new TimeSpan(6, 14, 32, 17, 685):`

`ddd` --> "006"

`dd\.hh\:mm` --> "06.14:32"| +|`"h"`, `"%h"`|The number of whole hours in the time interval that aren't counted as part of days. Single-digit hours don't have a leading zero.

More information: [The `"h"` custom format specifier](#hSpecifier).|`new TimeSpan(6, 14, 32, 17, 685):`

`%h` --> "14"

`hh\:mm` --> "14:32"| +|`"hh"`|The number of whole hours in the time interval that aren't counted as part of days. Single-digit hours have a leading zero.

More information: [The `"hh"` custom format specifier](#hhSpecifier).|`new TimeSpan(6, 14, 32, 17, 685):`

`hh` --> "14"

`new TimeSpan(6, 8, 32, 17, 685):`

`hh` --> 08| +|`"m"`, `"%m"`|The number of whole minutes in the time interval that aren't included as part of hours or days. Single-digit minutes don't have a leading zero.

More information: [The `"m"` custom format specifier](#mSpecifier).|`new TimeSpan(6, 14, 8, 17, 685):`

`%m` --> "8"

`h\:m` --> "14:8"| +|`"mm"`|The number of whole minutes in the time interval that aren't included as part of hours or days. Single-digit minutes have a leading zero.

More information: [The `"mm"` custom format specifier](#mmSpecifier).|`new TimeSpan(6, 14, 8, 17, 685):`

`mm` --> "08"

`new TimeSpan(6, 8, 5, 17, 685):`

`d\.hh\:mm\:ss` --> 6.08:05:17| +|`"s"`, `"%s"`|The number of whole seconds in the time interval that aren't included as part of hours, days, or minutes. Single-digit seconds don't have a leading zero.

More information: [The `"s"` custom format specifier](#sSpecifier).|`TimeSpan.FromSeconds(12.965)`:

`%s` --> 12

`s\.fff` --> 12.965| +|`"ss"`|The number of whole seconds in the time interval that aren't included as part of hours, days, or minutes. Single-digit seconds have a leading zero.

More information: [The `"ss"` custom format specifier](#ssSpecifier).|`TimeSpan.FromSeconds(6.965)`:

`ss` --> 06

`ss\.fff` --> 06.965| +|`"f"`, `"%f"`|The tenths of a second in a time interval.

More information: [The `"f"` custom format specifier](#fSpecifier).|`TimeSpan.FromSeconds(6.895)`:

`f` --> 8

`ss\.f` --> 06.8| +|`"ff"`|The hundredths of a second in a time interval.

More information: [The `"ff"` custom format specifier](#ffSpecifier).|`TimeSpan.FromSeconds(6.895)`:

`ff` --> 89

`ss\.ff` --> 06.89| +|`"fff"`|The milliseconds in a time interval.

More information: [The `"fff"` custom format specifier](#f3Specifier).|`TimeSpan.FromSeconds(6.895)`:

`fff` --> 895

`ss\.fff` --> 06.895| +|`"ffff"`|The ten-thousandths of a second in a time interval.

More information: [The `"ffff"` custom format specifier](#f4Specifier).|`TimeSpan.Parse("0:0:6.8954321")`:

`ffff` --> 8954

`ss\.ffff` --> 06.8954| +|`"fffff"`|The hundred-thousandths of a second in a time interval.

More information: [The `"fffff"` custom format specifier](#f5Specifier).|`TimeSpan.Parse("0:0:6.8954321")`:

`fffff` --> 89543

`ss\.fffff` --> 06.89543| +|`"ffffff"`|The millionths of a second in a time interval.

More information: [The `"ffffff"` custom format specifier](#f6Specifier).|`TimeSpan.Parse("0:0:6.8954321")`:

`ffffff` --> 895432

`ss\.ffffff` --> 06.895432| +|`"fffffff"`|The ten-millionths of a second (or the fractional ticks) in a time interval.

More information: [The `"fffffff"` custom format specifier](#f7Specifier).|`TimeSpan.Parse("0:0:6.8954321")`:

`fffffff` --> 8954321

`ss\.fffffff` --> 06.8954321| +|`"F"`, `"%F"`|The tenths of a second in a time interval. Nothing is displayed if the digit is zero.

More information: [The `"F"` custom format specifier](#F_Specifier).|`TimeSpan.Parse("00:00:06.32")`:

`%F`: 3

`TimeSpan.Parse("0:0:3.091")`:

`ss\.F`: 03.| +|`"FF"`|The hundredths of a second in a time interval. Any fractional trailing zeros or two zero digits aren't included.

More information: [The `"FF"` custom format specifier](#FF_Specifier).|`TimeSpan.Parse("00:00:06.329")`:

`FF`: 32

`TimeSpan.Parse("0:0:3.101")`:

`ss\.FF`: 03.1| +|`"FFF"`|The milliseconds in a time interval. Any fractional trailing zeros aren't included.

More information:|`TimeSpan.Parse("00:00:06.3291")`:

`FFF`: 329

`TimeSpan.Parse("0:0:3.1009")`:

`ss\.FFF`: 03.1| +|`"FFFF"`|The ten-thousandths of a second in a time interval. Any fractional trailing zeros aren't included.

More information: [The `"FFFF"` custom format specifier](#F4_Specifier).|`TimeSpan.Parse("00:00:06.32917")`:

`FFFFF`: 3291

`TimeSpan.Parse("0:0:3.10009")`:

`ss\.FFFF`: 03.1| +|`"FFFFF"`|The hundred-thousandths of a second in a time interval. Any fractional trailing zeros aren't included.

More information: [The `"FFFFF"` custom format specifier](#F5_Specifier).|`TimeSpan.Parse("00:00:06.329179")`:

`FFFFF`: 32917

`TimeSpan.Parse("0:0:3.100009")`:

`ss\.FFFFF`: 03.1| +|`"FFFFFF"`|The millionths of a second in a time interval. Any fractional trailing zeros aren't displayed.

More information: [The `"FFFFFF"` custom format specifier](#F6_Specifier).|`TimeSpan.Parse("00:00:06.3291791")`:

`FFFFFF`: 329179

`TimeSpan.Parse("0:0:3.1000009")`:

`ss\.FFFFFF`: 03.1| +|`"FFFFFFF"`|The ten-millions of a second in a time interval. Any fractional trailing zeros or seven zeros aren't displayed.

More information: [The `"FFFFFFF"` custom format specifier](#F7_Specifier).|`TimeSpan.Parse("00:00:06.3291791")`:

`FFFFFF`: 3291791

`TimeSpan.Parse("0:0:3.1900000")`:

`ss\.FFFFFF`: 03.19| |'*string*'|Literal string delimiter.

More information: [Other characters](#other-characters).|`new TimeSpan(14, 32, 17):`

`hh':'mm':'ss` --> "14:32:17"| |\|The escape character.

More information: [Other characters](#other-characters).|`new TimeSpan(14, 32, 17):`

`hh\:mm\:ss` --> "14:32:17"| |Any other character|Any other unescaped character is interpreted as a custom format specifier.

More Information: [Other characters](#other-characters).|`new TimeSpan(14, 32, 17):`

`hh\:mm\:ss` --> "14:32:17"| -## The "d" custom format specifier +## The `"d"` custom format specifier -The "d" custom format specifier outputs the value of the property, which represents the number of whole days in the time interval. It outputs the full number of days in a value, even if the value has more than one digit. If the value of the property is zero, the specifier outputs "0". +The `"d"` custom format specifier outputs the value of the property, which represents the number of whole days in the time interval. It outputs the full number of days in a value, even if the value has more than one digit. If the value of the property is zero, the specifier outputs "0". -If the "d" custom format specifier is used alone, specify "%d" so that it isn't misinterpreted as a standard format string. The following example provides an illustration. +If the `"d"` custom format specifier is used alone, specify `"%d"` so that it isn't misinterpreted as a standard format string. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#3](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#3)] [!code-vb[Conceptual.TimeSpan.Custom#3](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#3)] -The following example illustrates the use of the "d" custom format specifier. +The following example illustrates the use of the `"d"` custom format specifier. [!code-csharp[Conceptual.TimeSpan.Custom#4](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#4)] [!code-vb[Conceptual.TimeSpan.Custom#4](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#4)] [Back to table](#table) -## The "dd"-"dddddddd" custom format specifiers +## The `"dd"`-`"dddddddd"` custom format specifiers -The "dd", "ddd", "dddd", "ddddd", "dddddd", "ddddddd", and "dddddddd" custom format specifiers output the value of the property, which represents the number of whole days in the time interval. +The `"dd"`, `"ddd"`, `"dddd"`, `"ddddd"`, `"dddddd"`, `"ddddddd"`, and `"dddddddd"` custom format specifiers output the value of the property, which represents the number of whole days in the time interval. -The output string includes a minimum number of digits specified by the number of "d" characters in the format specifier, and it's padded with leading zeros as needed. If the digits in the number of days exceed the number of "d" characters in the format specifier, the full number of days is output in the result string. +The output string includes a minimum number of digits specified by the number of `d` characters in the format specifier, and it's padded with leading zeros as needed. If the digits in the number of days exceed the number of `d` characters in the format specifier, the full number of days is output in the result string. The following example uses these format specifiers to display the string representation of two values. The value of the days component of the first time interval is zero; the value of the days component of the second is 365. @@ -94,269 +94,269 @@ The following example uses these format specifiers to display the string represe [Back to table](#table) -## The "h" custom format specifier +## The `"h"` custom format specifier -The "h" custom format specifier outputs the value of the property, which represents the number of whole hours in the time interval that isn't counted as part of its day component. It returns a one-digit string value if the value of the property is 0 through 9, and it returns a two-digit string value if the value of the property ranges from 10 to 23. +The `"h"` custom format specifier outputs the value of the property, which represents the number of whole hours in the time interval that isn't counted as part of its day component. It returns a one-digit string value if the value of the property is 0 through 9, and it returns a two-digit string value if the value of the property ranges from 10 to 23. -If the "h" custom format specifier is used alone, specify "%h" so that it isn't misinterpreted as a standard format string. The following example provides an illustration. +If the `"h"` custom format specifier is used alone, specify `"%h"` so that it isn't misinterpreted as a standard format string. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#6](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#6)] [!code-vb[Conceptual.TimeSpan.Custom#6](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#6)] -Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the "%h" custom format specifier instead to interpret the numeric string as the number of hours. The following example provides an illustration. +Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the `"%h"` custom format specifier instead to interpret the numeric string as the number of hours. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#8](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#8)] [!code-vb[Conceptual.TimeSpan.Custom#8](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#8)] -The following example illustrates the use of the "h" custom format specifier. +The following example illustrates the use of the `"h"` custom format specifier. [!code-csharp[Conceptual.TimeSpan.Custom#7](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#7)] [!code-vb[Conceptual.TimeSpan.Custom#7](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#7)] [Back to table](#table) -## The "hh" custom format specifier +## The `"hh"` custom format specifier -The "hh" custom format specifier outputs the value of the property, which represents the number of whole hours in the time interval that isn't counted as part of its day component. For values from 0 through 9, the output string includes a leading zero. +The `"hh"` custom format specifier outputs the value of the property, which represents the number of whole hours in the time interval that isn't counted as part of its day component. For values from 0 through 9, the output string includes a leading zero. -Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the "hh" custom format specifier instead to interpret the numeric string as the number of hours. The following example provides an illustration. +Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the `"hh"` custom format specifier instead to interpret the numeric string as the number of hours. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#9](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#9)] [!code-vb[Conceptual.TimeSpan.Custom#9](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#9)] -The following example illustrates the use of the "hh" custom format specifier. +The following example illustrates the use of the `"hh"` custom format specifier. [!code-csharp[Conceptual.TimeSpan.Custom#10](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#10)] [!code-vb[Conceptual.TimeSpan.Custom#10](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#10)] [Back to table](#table) -## The "m" custom format specifier +## The `"m"` custom format specifier -The "m" custom format specifier outputs the value of the property, which represents the number of whole minutes in the time interval that isn't counted as part of its day component. It returns a one-digit string value if the value of the property is 0 through 9, and it returns a two-digit string value if the value of the property ranges from 10 to 59. +The `"m"` custom format specifier outputs the value of the property, which represents the number of whole minutes in the time interval that isn't counted as part of its day component. It returns a one-digit string value if the value of the property is 0 through 9, and it returns a two-digit string value if the value of the property ranges from 10 to 59. -If the "m" custom format specifier is used alone, specify "%m" so that it isn't misinterpreted as a standard format string. The following example provides an illustration. +If the `"m"` custom format specifier is used alone, specify `"%m"` so that it isn't misinterpreted as a standard format string. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#6](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#6)] [!code-vb[Conceptual.TimeSpan.Custom#6](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#6)] -Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the "%m" custom format specifier instead to interpret the numeric string as the number of minutes. The following example provides an illustration. +Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the `"%m"` custom format specifier instead to interpret the numeric string as the number of minutes. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#11](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#11)] [!code-vb[Conceptual.TimeSpan.Custom#11](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#11)] -The following example illustrates the use of the "m" custom format specifier. +The following example illustrates the use of the `"m"` custom format specifier. [!code-csharp[Conceptual.TimeSpan.Custom#12](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#12)] [!code-vb[Conceptual.TimeSpan.Custom#12](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#12)] [Back to table](#table) -## The "mm" custom format specifier +## The `"mm"` custom format specifier -The "mm" custom format specifier outputs the value of the property, which represents the number of whole minutes in the time interval that isn't included as part of its hours or days component. For values from 0 through 9, the output string includes a leading zero. +The `"mm"` custom format specifier outputs the value of the property, which represents the number of whole minutes in the time interval that isn't included as part of its hours or days component. For values from 0 through 9, the output string includes a leading zero. -Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the "mm" custom format specifier instead to interpret the numeric string as the number of minutes. The following example provides an illustration. +Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the `"mm"` custom format specifier instead to interpret the numeric string as the number of minutes. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#13](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#13)] [!code-vb[Conceptual.TimeSpan.Custom#13](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#13)] -The following example illustrates the use of the "mm" custom format specifier. +The following example illustrates the use of the `"mm"` custom format specifier. [!code-csharp[Conceptual.TimeSpan.Custom#14](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#14)] [!code-vb[Conceptual.TimeSpan.Custom#14](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#14)] [Back to table](#table) -## The "s" custom format specifier +## The `"s"` custom format specifier -The "s" custom format specifier outputs the value of the property, which represents the number of whole seconds in the time interval that isn't included as part of its hours, days, or minutes component. It returns a one-digit string value if the value of the property is 0 through 9, and it returns a two-digit string value if the value of the property ranges from 10 to 59. +The `"s"` custom format specifier outputs the value of the property, which represents the number of whole seconds in the time interval that isn't included as part of its hours, days, or minutes component. It returns a one-digit string value if the value of the property is 0 through 9, and it returns a two-digit string value if the value of the property ranges from 10 to 59. -If the "s" custom format specifier is used alone, specify "%s" so that it isn't misinterpreted as a standard format string. The following example provides an illustration. +If the `"s"` custom format specifier is used alone, specify `"%s"` so that it isn't misinterpreted as a standard format string. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#15](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#15)] [!code-vb[Conceptual.TimeSpan.Custom#15](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#15)] -Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the "%s" custom format specifier instead to interpret the numeric string as the number of seconds. The following example provides an illustration. +Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the `"%s"` custom format specifier instead to interpret the numeric string as the number of seconds. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#17](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#17)] [!code-vb[Conceptual.TimeSpan.Custom#17](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#17)] -The following example illustrates the use of the "s" custom format specifier. +The following example illustrates the use of the `"s"` custom format specifier. [!code-csharp[Conceptual.TimeSpan.Custom#16](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#16)] [!code-vb[Conceptual.TimeSpan.Custom#16](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#16)] [Back to table](#table) -## The "ss" custom format specifier +## The `"ss"` custom format specifier -The "ss" custom format specifier outputs the value of the property, which represents the number of whole seconds in the time interval that isn't included as part of its hours, days, or minutes component. For values from 0 through 9, the output string includes a leading zero. +The `"ss"` custom format specifier outputs the value of the property, which represents the number of whole seconds in the time interval that isn't included as part of its hours, days, or minutes component. For values from 0 through 9, the output string includes a leading zero. -Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the "ss" custom format specifier instead to interpret the numeric string as the number of seconds. The following example provides an illustration. +Ordinarily, in a parsing operation, an input string that includes only a single number is interpreted as the number of days. You can use the `"ss"` custom format specifier instead to interpret the numeric string as the number of seconds. The following example provides an illustration. [!code-csharp[Conceptual.TimeSpan.Custom#18](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#18)] [!code-vb[Conceptual.TimeSpan.Custom#18](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#18)] -The following example illustrates the use of the "ss" custom format specifier. +The following example illustrates the use of the `"ss"` custom format specifier. [!code-csharp[Conceptual.TimeSpan.Custom#19](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/customexamples1.cs#19)] [!code-vb[Conceptual.TimeSpan.Custom#19](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/customexamples1.vb#19)] [Back to table](#table) -## The "f" custom format specifier +## The `"f"` custom format specifier -The "f" custom format specifier outputs the tenths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly one fractional digit. +The `"f"` custom format specifier outputs the tenths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly one fractional digit. -If the "f" custom format specifier is used alone, specify "%f" so that it isn't misinterpreted as a standard format string. +If the `"f"` custom format specifier is used alone, specify `"%f"` so that it isn't misinterpreted as a standard format string. -The following example uses the "f" custom format specifier to display the tenths of a second in a value. "f" is used first as the only format specifier, and then combined with the "s" specifier in a custom format string. +The following example uses the `"f"` custom format specifier to display the tenths of a second in a value. `"f"` is used first as the only format specifier, and then combined with the `"s"` specifier in a custom format string. [!code-csharp[Conceptual.TimeSpan.Custom#20](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/fspecifiers1.cs#20)] [!code-vb[Conceptual.TimeSpan.Custom#20](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/fspecifiers1.vb#20)] [Back to table](#table) -## The "ff" custom format specifier +## The `"ff"` custom format specifier -The "ff" custom format specifier outputs the hundredths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly two fractional digits. +The `"ff"` custom format specifier outputs the hundredths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly two fractional digits. -The following example uses the "ff" custom format specifier to display the hundredths of a second in a value. "ff" is used first as the only format specifier, and then combined with the "s" specifier in a custom format string. +The following example uses the `"ff"` custom format specifier to display the hundredths of a second in a value. `"ff"` is used first as the only format specifier, and then combined with the `"s"` specifier in a custom format string. [!code-csharp[Conceptual.TimeSpan.Custom#20](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/fspecifiers1.cs#20)] [!code-vb[Conceptual.TimeSpan.Custom#20](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/fspecifiers1.vb#20)] [Back to table](#table) -## The "fff" custom format specifier +## The `"fff"` custom format specifier -The "fff" custom format specifier (with three "f" characters) outputs the milliseconds in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly three fractional digits. +The `"fff"` custom format specifier (with three `f` characters) outputs the milliseconds in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly three fractional digits. -The following example uses the "fff" custom format specifier to display the milliseconds in a value. "fff" is used first as the only format specifier, and then combined with the "s" specifier in a custom format string. +The following example uses the `"fff"` custom format specifier to display the milliseconds in a value. `"fff"` is used first as the only format specifier, and then combined with the `"s"` specifier in a custom format string. [!code-csharp[Conceptual.TimeSpan.Custom#20](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/fspecifiers1.cs#20)] [!code-vb[Conceptual.TimeSpan.Custom#20](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/fspecifiers1.vb#20)] [Back to table](#table) -## The "ffff" custom format specifier +## The `"ffff"` custom format specifier -The "ffff" custom format specifier (with four "f" characters) outputs the ten-thousandths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly four fractional digits. +The `"ffff"` custom format specifier (with four `f` characters) outputs the ten-thousandths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly four fractional digits. -The following example uses the "ffff" custom format specifier to display the ten-thousandths of a second in a value. "ffff" is used first as the only format specifier, and then combined with the "s" specifier in a custom format string. +The following example uses the `"ffff"` custom format specifier to display the ten-thousandths of a second in a value. `"ffff"` is used first as the only format specifier, and then combined with the `"s"` specifier in a custom format string. [!code-csharp[Conceptual.TimeSpan.Custom#20](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/fspecifiers1.cs#20)] [!code-vb[Conceptual.TimeSpan.Custom#20](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/fspecifiers1.vb#20)] [Back to table](#table) -## The "fffff" custom format specifier +## The `"fffff"` custom format specifier -The "fffff" custom format specifier (with five "f" characters) outputs the hundred-thousandths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly five fractional digits. +The `"fffff"` custom format specifier (with five `f` characters) outputs the hundred-thousandths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly five fractional digits. -The following example uses the "fffff" custom format specifier to display the hundred-thousandths of a second in a value. "fffff" is used first as the only format specifier, and then combined with the "s" specifier in a custom format string. +The following example uses the `"fffff"` custom format specifier to display the hundred-thousandths of a second in a value. `"fffff"` is used first as the only format specifier, and then combined with the `"s"` specifier in a custom format string. [!code-csharp[Conceptual.TimeSpan.Custom#20](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/fspecifiers1.cs#20)] [!code-vb[Conceptual.TimeSpan.Custom#20](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/fspecifiers1.vb#20)] [Back to table](#table) -## The "ffffff" custom format specifier +## The `"ffffff"` custom format specifier -The "ffffff" custom format specifier (with six "f" characters) outputs the millionths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly six fractional digits. +The `"ffffff"` custom format specifier (with six `f` characters) outputs the millionths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. In a parsing operation that calls the or method, the input string must contain exactly six fractional digits. -The following example uses the "ffffff" custom format specifier to display the millionths of a second in a value. It is used first as the only format specifier, and then combined with the "s" specifier in a custom format string. +The following example uses the `"ffffff"` custom format specifier to display the millionths of a second in a value. It is used first as the only format specifier, and then combined with the `"s"` specifier in a custom format string. [!code-csharp[Conceptual.TimeSpan.Custom#20](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/fspecifiers1.cs#20)] [!code-vb[Conceptual.TimeSpan.Custom#20](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/fspecifiers1.vb#20)] [Back to table](#table) -## The "fffffff" custom format specifier +## The `"fffffff"` custom format specifier -The "fffffff" custom format specifier (with seven "f" characters) outputs the ten-millionths of a second (or the fractional number of ticks) in a time interval. In a parsing operation that calls the or method, the input string must contain exactly seven fractional digits. +The `"fffffff"` custom format specifier (with seven `f` characters) outputs the ten-millionths of a second (or the fractional number of ticks) in a time interval. In a parsing operation that calls the or method, the input string must contain exactly seven fractional digits. -The following example uses the "fffffff" custom format specifier to display the fractional number of ticks in a value. It is used first as the only format specifier, and then combined with the "s" specifier in a custom format string. +The following example uses the `"fffffff"` custom format specifier to display the fractional number of ticks in a value. It is used first as the only format specifier, and then combined with the `"s"` specifier in a custom format string. [!code-csharp[Conceptual.TimeSpan.Custom#20](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/fspecifiers1.cs#20)] [!code-vb[Conceptual.TimeSpan.Custom#20](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/fspecifiers1.vb#20)] [Back to table](#table) -## The "F" custom format specifier +## The `"F"` custom format specifier -The "F" custom format specifier outputs the tenths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If the value of the time interval's tenths of a second is zero, it isn't included in the result string. In a parsing operation that calls the or method, the presence of the tenths of a second digit is optional. +The `"F"` custom format specifier outputs the tenths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If the value of the time interval's tenths of a second is zero, it isn't included in the result string. In a parsing operation that calls the or method, the presence of the tenths of a second digit is optional. -If the "F" custom format specifier is used alone, specify "%F" so that it isn't misinterpreted as a standard format string. +If the `"F"` custom format specifier is used alone, specify `"%F"` so that it isn't misinterpreted as a standard format string. -The following example uses the "F" custom format specifier to display the tenths of a second in a value. It also uses this custom format specifier in a parsing operation. +The following example uses the `"F"` custom format specifier to display the tenths of a second in a value. It also uses this custom format specifier in a parsing operation. [!code-csharp[Conceptual.TimeSpan.Custom#21](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/f_specifiers1.cs#21)] [!code-vb[Conceptual.TimeSpan.Custom#21](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/f_specifiers1.vb#21)] [Back to table](#table) -## The "FF" custom format specifier +## The `"FF"` custom format specifier -The "FF" custom format specifier outputs the hundredths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths and hundredths of a second digit is optional. +The `"FF"` custom format specifier outputs the hundredths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths and hundredths of a second digit is optional. -The following example uses the "FF" custom format specifier to display the hundredths of a second in a value. It also uses this custom format specifier in a parsing operation. +The following example uses the `"FF"` custom format specifier to display the hundredths of a second in a value. It also uses this custom format specifier in a parsing operation. [!code-csharp[Conceptual.TimeSpan.Custom#22](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/f_specifiers1.cs#22)] [!code-vb[Conceptual.TimeSpan.Custom#22](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/f_specifiers1.vb#22)] [Back to table](#table) -## The "FFF" custom format specifier +## The `"FFF"` custom format specifier -The "FFF" custom format specifier (with three "F" characters) outputs the milliseconds in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths, hundredths, and thousandths of a second digit is optional. +The `"FFF"` custom format specifier (with three `F` characters) outputs the milliseconds in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths, hundredths, and thousandths of a second digit is optional. -The following example uses the "FFF" custom format specifier to display the thousandths of a second in a value. It also uses this custom format specifier in a parsing operation. +The following example uses the `"FFF"` custom format specifier to display the thousandths of a second in a value. It also uses this custom format specifier in a parsing operation. [!code-csharp[Conceptual.TimeSpan.Custom#23](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/f_specifiers1.cs#23)] [!code-vb[Conceptual.TimeSpan.Custom#23](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/f_specifiers1.vb#23)] [Back to table](#table) -## The "FFFF" custom format specifier +## The `"FFFF"` custom format specifier -The "FFFF" custom format specifier (with four "F" characters) outputs the ten-thousandths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths, hundredths, thousandths, and ten-thousandths of a second digit is optional. +The `"FFFF"` custom format specifier (with four `F` characters) outputs the ten-thousandths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths, hundredths, thousandths, and ten-thousandths of a second digit is optional. -The following example uses the "FFFF" custom format specifier to display the ten-thousandths of a second in a value. It also uses the "FFFF" custom format specifier in a parsing operation. +The following example uses the `"FFFF"` custom format specifier to display the ten-thousandths of a second in a value. It also uses the `"FFFF"` custom format specifier in a parsing operation. [!code-csharp[Conceptual.TimeSpan.Custom#24](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/f_specifiers1.cs#24)] [!code-vb[Conceptual.TimeSpan.Custom#24](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/f_specifiers1.vb#24)] [Back to table](#table) -## The "FFFFF" custom format specifier +## The `"FFFFF"` custom format specifier -The "FFFFF" custom format specifier (with five "F" characters) outputs the hundred-thousandths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths, hundredths, thousandths, ten-thousandths, and hundred-thousandths of a second digit is optional. +The `"FFFFF"` custom format specifier (with five `F` characters) outputs the hundred-thousandths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths, hundredths, thousandths, ten-thousandths, and hundred-thousandths of a second digit is optional. -The following example uses the "FFFFF" custom format specifier to display the hundred-thousandths of a second in a value. It also uses the "FFFFF" custom format specifier in a parsing operation. +The following example uses the `"FFFFF"` custom format specifier to display the hundred-thousandths of a second in a value. It also uses the `"FFFFF"` custom format specifier in a parsing operation. [!code-csharp[Conceptual.TimeSpan.Custom#25](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/f_specifiers1.cs#25)] [!code-vb[Conceptual.TimeSpan.Custom#25](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/f_specifiers1.vb#25)] [Back to table](#table) -## The "FFFFFF" custom format specifier +## The `"FFFFFF"` custom format specifier -The "FFFFFF" custom format specifier (with six "F" characters) outputs the millionths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths, hundredths, thousandths, ten-thousandths, hundred-thousandths, and millionths of a second digit is optional. +The `"FFFFFF"` custom format specifier (with six `F` characters) outputs the millionths of a second in a time interval. In a formatting operation, any remaining fractional digits are truncated. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the tenths, hundredths, thousandths, ten-thousandths, hundred-thousandths, and millionths of a second digit is optional. -The following example uses the "FFFFFF" custom format specifier to display the millionths of a second in a value. It also uses this custom format specifier in a parsing operation. +The following example uses the `"FFFFFF"` custom format specifier to display the millionths of a second in a value. It also uses this custom format specifier in a parsing operation. [!code-csharp[Conceptual.TimeSpan.Custom#26](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/f_specifiers1.cs#26)] [!code-vb[Conceptual.TimeSpan.Custom#26](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/f_specifiers1.vb#26)] [Back to table](#table) -## The "FFFFFFF" custom format specifier +## The `"FFFFFFF"` custom format specifier -The "FFFFFFF" custom format specifier (with seven "F" characters) outputs the ten-millionths of a second (or the fractional number of ticks) in a time interval. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the seven fractional digits in the input string is optional. +The `"FFFFFFF"` custom format specifier (with seven `F` characters) outputs the ten-millionths of a second (or the fractional number of ticks) in a time interval. If there are any trailing fractional zeros, they aren't included in the result string. In a parsing operation that calls the or method, the presence of the seven fractional digits in the input string is optional. -The following example uses the "FFFFFFF" custom format specifier to display the fractional parts of a second in a value. It also uses this custom format specifier in a parsing operation. +The following example uses the `"FFFFFFF"` custom format specifier to display the fractional parts of a second in a value. It also uses this custom format specifier in a parsing operation. [!code-csharp[Conceptual.TimeSpan.Custom#27](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/f_specifiers1.cs#27)] [!code-vb[Conceptual.TimeSpan.Custom#27](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/f_specifiers1.vb#27)] @@ -380,7 +380,7 @@ There are two ways to include a literal character in a format string: .NET doesn't define a grammar for separators in time intervals. This means that the separators between days and hours, hours and minutes, minutes and seconds, and seconds and fractions of a second must all be treated as character literals in a format string. -The following example uses both the escape character and the single quote to define a custom format string that includes the word "minutes" in the output string. +The following example uses both the escape character and the single quote to define a custom format string that includes the word `"minutes"` in the output string. [!code-csharp[Conceptual.TimeSpan.Custom#28](~/samples/snippets/csharp/VS_Snippets_CLR/conceptual.timespan.custom/cs/literal1.cs#28)] [!code-vb[Conceptual.TimeSpan.Custom#28](~/samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.timespan.custom/vb/literal1.vb#28)]