diff --git a/winforms/formatting-utility/cs/Form1.cs b/winforms/formatting-utility/cs/Form1.cs index 9384f4a9eed..d46547adb7d 100644 --- a/winforms/formatting-utility/cs/Form1.cs +++ b/winforms/formatting-utility/cs/Form1.cs @@ -163,7 +163,7 @@ private void OKButton_Click(object sender, EventArgs e) } } // Format date value. - this.Result.Text = (hasOffet ? dto : dat).ToString(this.FormatStrings.Text, culture); + this.Result.Text = (hasOffset ? dto : dat).ToString(this.FormatStrings.Text, culture); } else { // Handle formatting of a number.