We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the date formats of DatePicker widgets

Platform: Dashboard Platform |
Control: Dashboard Widgets |
Published Date: August 10, 2018 |
Last Revised Date: May 6, 2019

Changing the date format in Date Picker based on the application Culture and Language

You can change the date format of the Date Picker widget by changing the application’s culture or language into the required culture/language (i.e. if you want to display DayMonthYear date formats in the date picker, you need to change the application culture into United Kingdom). The following steps explain how to change the date formats from MonthDayYear into DayMonthYear (i.e. en-US to en-GB culture).

  1. Go to Dashboard Designer installed location (i.e. C:\Program Files (x86)\Syncfusion\Dashboard Designer\DashboardDesigner).
  2. Create a copy of the default resource file (Resources.en-US.resx) available in the localization folder. (i.e. C:\Program Files (x86)\Syncfusion\Dashboard Designer\DashboardDesigner\Localization)

 

Creating the copy of Resources.en-US.resx file

  1. Rename the file as Resources.<culturename>.resx. Here, the culture name illustrates the codes of language and country.

For example: If your culture code is en-GB then, you need to specify the file name as Resources.en-GB.resx for English - United Kingdom culture.

 

http://www.syncfusion.com/uploads/user/kb/dashbrd/dashbrd-17319/dashbrd-17319_img1.png

 

 

 

  1. Now, open the Dashboard Designer application and select language from the Help menu.

 

http://www.syncfusion.com/uploads/user/kb/dashbrd/dashbrd-17319/dashbrd-17319_img2.png

 

 

    

 It will open the following pop-up for application restart confirmation, click Yes.

 

 http://www.syncfusion.com/uploads/user/kb/dashbrd/dashbrd-17319/dashbrd-17319_img3.png

 

  1. Open the dashboard application and design your report with the date picker. Date-time format will be applied based on the new language selection. You can also open an existing report and change the language to change the date-time format.

 

Date data displayed based on the language selected.

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon