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. Image for the cookie policy date

DatePicker Locale value

Hi, I've a Date in spanish format: 18/03/2015 (dd/MM/yyyy)

I've a datepicker

<ej:DatePicker ID="dateFechaConcesionGND" runat="server" Value='<%# Item.FechaConcensionGND %>' Locale="es-ES" DateFormat="dd/MM/yyyy" />

But when I display the value I get: 03/06/2016 date

What its wrong?

1 Reply

KC Kasithangam C Syncfusion Team April 1, 2015 10:11 AM UTC

Hi Manolo,

We have analyzed your query with the provided code.We are unable to reproduce the specified issue.We would like to let you know that, the value which you are passing will be set to the datepicker control.So, please ensure the value passed for the datepicker control from the code-behind.We have prepared the sample to display the datepicker control with Spanish dateformat.Please find the sample under the following location,

Sample: Sample

Could you please check with the above sample? If still you face the same problem, please revert us by modifying the sample based on your application along with replication procedure. This would be helpful for us to serve you.

Please let us know if you have further queries.



Live Chat Icon For mobile
Up arrow icon