Wednesday, March 17, 2010

SharePoint DateTime Control Date Format

Normally Sharepoint Datetime control take MM/dd/yyyy date format by default. If your sharepoint site regional settings is different then its mandetory to change date time control property to set original date format for sharepoint control.

<SharePoint: DateTimeControl runat="server".... />



Put



LocaleId="2057"

before the /> bit at the end.