Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Forbid converting String to Date format(The string may containt date information)
Forbid converting String to Date format [message #1066040] Sat, 29 June 2013 09:45 Go to next message
ILya Cyclone is currently offline ILya CycloneFriend
Messages: 19
Registered: June 2013
Junior Member
I have an SQL DataSet with a String Info attribute.
It is used in DynamicText like
'Info: <span style...>'+row["INFO"]+'</span>'

Usually Info attribute comes with some normal text, but sometimes it may containt just a date: '01.06.13' - still being a String!
The problem is when Info comes with a date in its string value report output is like:
"Info: Sat Jun 01 0013 00:00:00 GMT+0400 (MSK)"
while I need just
"Info: 01.06.13"

And seems I can't use a date formatter because usually Info is not a date.
How to forbid BIRT converting '01.06.13' String to date format?

BIRT 4.2.

[Updated on: Sat, 29 June 2013 09:49]

Report message to a moderator

Re: Forbid converting String to Date format [message #1066891 is a reply to message #1066040] Fri, 05 July 2013 05:39 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Are you able to reproduce this with any database type? Or only with your SQL dataSet?


Developer Evangelist, Silanis
Previous Topic:Problem with Trend Charts
Next Topic:Hide/Remove unused emitters in viewer
Goto Forum:

Current Time: Wed Aug 05 14:22:04 GMT 2020

Powered by FUDForum. Page generated in 0.01352 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top