Default Format for Date Fields
Posted: Wed Jul 10, 2019 2:11 pm
Hi ,
Currently in our reports, when adding a date field (in a business object), we have to manually enter the date format next to the field in the Stimulsoft report. This looks like :
{Format("{0:dd MMM yyyy}", IATAStatisticsDataProvider.DepartureDate)}
We do this so when we export the report, the data in the field is recognized as a date field.
Please let me know if there is anyway to have stimulsoft recognize date fields as dates by default without having to add the formatting manually. So in the above example we would only need to have {IATAStatisticsDataProvider.DepartureDate} for it to recognize as a date when exporting.
Thank you in advance.
Currently in our reports, when adding a date field (in a business object), we have to manually enter the date format next to the field in the Stimulsoft report. This looks like :
{Format("{0:dd MMM yyyy}", IATAStatisticsDataProvider.DepartureDate)}
We do this so when we export the report, the data in the field is recognized as a date field.
Please let me know if there is anyway to have stimulsoft recognize date fields as dates by default without having to add the formatting manually. So in the above example we would only need to have {IATAStatisticsDataProvider.DepartureDate} for it to recognize as a date when exporting.
Thank you in advance.