We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de8e135 commit 5bf277cCopy full SHA for 5bf277c
src/libraries/System.Private.CoreLib/src/System/DateTime.cs
@@ -1663,7 +1663,7 @@ private static double TicksToOADate(long value)
1663
{
1664
if (value == 0)
1665
return 0.0; // Returns OleAut's zero'ed date value.
1666
- if (value < TimeSpan.TicksPerDay) // This is a fix for VB. They want the default day to be 1/1/0001 rathar then 12/30/1899.
+ if (value < TimeSpan.TicksPerDay) // This is a fix for VB. They want the default day to be 1/1/0001 rather than 12/30/1899.
1667
value += DoubleDateOffset; // We could have moved this fix down but we would like to keep the bounds check.
1668
if (value < OADateMinAsTicks)
1669
throw new OverflowException(SR.Arg_OleAutDateInvalid);
0 commit comments