Tag Archives: DateTime formats

Use standard date and time formats in C#

You can use formatting characters to display date and time values in particular formats. These formats work with a variable’s ToString method as well as with String.Format. For example, the code DateTime.Now.ToString(“f”) returns the current date and time in full … Continue reading

Posted in formatting, strings | Tagged , , , , , , , , , , , , , , | 1 Comment