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