Hi. I am on Crystal Reports XI Release 2.
I have a report that queries a db that stores all date/time information in UTC time. So, I have to convert it to my local timezone for any kind of reporting (I am in Chicago - CST).
I thought I figured out the formula I needed to do this, but after this weekend I can see that it is not in fact working how I expect. Here's the formula:
ShiftDateTime ({AH.AH_TIMESTAMP4},"UTC,000,UTC","CST,300,CDT") in {@StartTime}to {@EndTime}
My goal here is to have the report automatically determine if it is CST or CDT and adjust the timeframe accordingly. So far it seems the best I can do is modify this report 2x a year to fix the daylight savings time adjustment.
Any ideas/advice? Thanks.
I have a report that queries a db that stores all date/time information in UTC time. So, I have to convert it to my local timezone for any kind of reporting (I am in Chicago - CST).
I thought I figured out the formula I needed to do this, but after this weekend I can see that it is not in fact working how I expect. Here's the formula:
ShiftDateTime ({AH.AH_TIMESTAMP4},"UTC,000,UTC","CST,300,CDT") in {@StartTime}to {@EndTime}
My goal here is to have the report automatically determine if it is CST or CDT and adjust the timeframe accordingly. So far it seems the best I can do is modify this report 2x a year to fix the daylight savings time adjustment.
Any ideas/advice? Thanks.