Jump to content
We've recently updated our Privacy Statement, available here ×

Timestamp Manipulation possible?


mjoc13

Recommended Posts

Hi all,

Since i do not know the proper way of handling timezones in ireport, i'm wondering if i can add 8 hours to the utc timestamp coming from the datasource, to offset the default timezone formatting.

Currently it's stored with time 00:00:00 UTC, so converting with out current timezone pulls it back into the previous day.

I tried creating a variable and using the method setHours(int), but when compiling the report is errors with a cannot convert void to timestamp...since the setHours does not return anything. I've also tried casting it to a timestamp after the set method with no luck.

Any info would be appreciated.

 

Thanks,

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 10 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...