| |||||||||||||||||
DateTimeStyles EnumerationSystem.Globalization Namespace Defines the formatting options that customize how the DateTime.Parse and DateTime.ParseExact methods parse a string. This enumeration has a FlagsAttribute that allows a bitwise combination of its member values. Members
RemarksThe NoCurrentDateDefault value is the only value that is useful with the DateTime.Parse method, because DateTime.Parse always ignores leading, trailing, and inner white-space characters. The DateTime.ParseExact can use any of DateTimeStyles values. If none of the Allow* values are selected, the input string must have exactly the same white-space characters as in the format string. If the string does not contain any indication of the time zone, DateTime.Parse and DateTime.ParseExact read the date and time based on the system's time zone setting. To convert the date and time to the Universal Time or Greenwich mean time ( GMT ), use the AdjustToUniversal value. The same effect can be achieved using DateTime.ToUniversalTime; however, using the AdjustToUniversal value with DateTime.Parse or DateTime.ParseExact is more efficient. See AlsoDateTime.Parse DateTime.ParseExact |
| ||||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme