DateTimeFormat Properties

.NET Framework 4.6 and 4.5

The DateTimeFormat type exposes the following members.

  Name Description
Public property DateTimeStyles Gets or sets the formatting options that customize string parsing for some date and time parsing methods.
Public property FormatProvider Gets an object that controls formatting.
Public property FormatString Gets the format strings to control the formatting produced when a date or time is represented as a string.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft