Hi Techies,
I am using a webdatetime edit control , I am trying to save datettime in databse as PM. it saving correctly.
But when i try to display , it is showing as AM instead of PM. Please help me on this.
Thanks in Advance
Sreenivas
Hi Sreenivas,
The "set" Value for WebDateTimeEditor, the DateTime object should be used or a string in "standard" date format used by dot-net: "yyyy-MM-dd-HH-mm-ss". Where HH is hours in 24-hour format. If to initialize Value in control, application uses string in different format, then to prevent misbehavior, it should convert string to DateTime object and then use that object to set Value of editor.