jongr Posted May 9, 2007 Share Posted May 9, 2007 The database that I wish to report on uses dates (Long integers) in reverse order with the base in the year 1900.i.e. The 19 March 2007 is held as 1070319How can I input the date using the datatype calendar and convert it for use in the report query ? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted May 15, 2007 Share Posted May 15, 2007 Hi, I think you could define a variable that would parse the value of the numeric report field into a java.util.Date that you then could format and display how you like in your report.For details about parsing dates and numbers, you should consult the JDK documentation, especially the SimpleDateFormat class. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now