| |||||||
DateTimeFormatInfo.AMDesignator PropertySystem.Globalization Namespace DateTimeFormatInfo Class Sets or retrieves the string designator for hours that are "ante meridiem" ( before noon ). [ VB ] public Property AMDesignator As String [ C# ] public string AMDesignator {get; set;} [ C++ ] public: __property String* get_AMDesignator ( ); public: __property void set_AMDesignator ( String* ); [ JScript ] function get AMDesignator ( ) : String; public function set AMDesignator ( String ); Property ValueThe string designator for hours that are "ante meridiem" ( before noon ). The default for InvariantInfo is "AM". Exceptions
RemarksIf the custom pattern includes the format pattern "tt" and the time is before noon, DateTime.ToString displays the value of AMDesignator in place of the "tt" in the format pattern. If the custom pattern includes the format pattern "t", only the first character of AMDesignator is displayed. ExampleThe below shows the AMDesignator used for each of the available cultures. See AlsoDateTimeFormatInfo Members PMDesignator |
| ||||||
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