how to not display time stamp without converting to string

Stimulsoft Reports.WEB discussion
Post Reply
drp1994
Posts: 9
Joined: Wed Jun 04, 2014 7:32 pm

how to not display time stamp without converting to string

Post by drp1994 »

At this point in time the Date field from the back end is coming over as just a "Date" type, but when it is pulled within StimulSoft it is forcing a Time stamp onto the date.
How do you remove the time stamp from the date without converting it to String?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: how to not display time stamp without converting to stri

Post by Alex K. »

Hello,

Please try to set the Format property for the Text component.
If the issue still present, can you please send us a sample report with test data for analysis.

Thank you.
drp1994
Posts: 9
Joined: Wed Jun 04, 2014 7:32 pm

Re: how to not display time stamp without converting to stri

Post by drp1994 »

If I use that Text Component setting, will that cause any issue when we attempt to use the Culture property feature (meaning we want to pass what the users computer Date format is configured for to the resulting StimulSoft form)
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: how to not display time stamp without converting to stri

Post by Alex K. »

Hello,

Please try to use the following expression:

Code: Select all

{value.ToShortDateString()}
Thank you.
Post Reply