File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
snippets/csharp/System/DateTimeOffset/op_Addition Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,13 +176,13 @@ private static void ShowSubtraction1()
176
176
difference = firstDate - thirdDate ;
177
177
Console . WriteLine ( "({0}) - ({1}): {2} days, {3}:{4:d2}" ,
178
178
firstDate . ToString ( ) ,
179
- secondDate . ToString ( ) ,
179
+ thirdDate . ToString ( ) ,
180
180
difference . Days ,
181
181
difference . Hours ,
182
182
difference . Minutes ) ;
183
183
// The example produces the following output:
184
184
// (3/25/2008 6:00:00 PM -07:00) - (3/25/2008 6:00:00 PM -05:00): 0 days, 2:00
185
- // (3/25/2008 6:00:00 PM -07:00) - (3/25 /2008 6 :00:00 PM -05 :00): 26 days, 9:00
185
+ // (3/25/2008 6:00:00 PM -07:00) - (2/28 /2008 9 :00:00 AM -07 :00): 26 days, 9:00
186
186
// </Snippet14>
187
187
}
188
188
You can’t perform that action at this time.
0 commit comments