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.
Unfortunately, activation email could not send to your email. Please try again.

Incorrect date format

Thread ID:





92423 Jan 14,2010 05:40 AM Feb 4,2010 04:33 AM ASP.NET Web Forms (Classic) 3
Tags: PDF
Marcello Giovani
Asked On January 14, 2010 05:40 AM

Dear Syncfusion Staff,
I've a little question:
I'm using Essential Studio for ASP.NET.

I have created an ASP.NET DataTable with a column DateTime type, then I've filled the PdfLightTable datasource with this DataTable.

In web.config I've set globalization culture="it-IT" (date format dd/mm/yyyy), but when the table is shown, the date column is in mm/dd/yyyy format.

How can I set the correct format?

Thank you.
Best regards

Pravin Joshua D [Syncfusion]
Replied On January 25, 2010 05:28 AM

Hi Marcello,

Thank you for using Syncfusion products.

We are unable to reproduce the issue. Please look at the sample, which stores the date and time in the required (dd/mm/yyyy) format,in pdf light table.



Please try this and let us know if you have any questions.

Pravin Joshua D

Replied On February 3, 2010 05:29 AM

I tried the sample
I see the time is displayed too in the "Date and Time" column.
I would like to format the DateTime so that the time is not displayed.
My question: how can I apply a format other than the standard?


Pravin Joshua D [Syncfusion]
Replied On February 4, 2010 04:33 AM

Hi Hans,

We presently do not support date and time formatting in PDF Light Table. But the date and time can be formatted as in the sample below. Please view the modified sample in which, date alone is displayed ( Time is not displayed) as you requested.



Please try this and let us know if you have any questions.

Pravin Joshua D


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.