Hi. I am a new user and trying to build some reports on an application that stores the date/time in UTC time. I need to convert this to CST or CDT timezone depending on whether or not we are using Daylight Savings or not. I have read the other posts and I was able to use the following and get the date converted:
DateAdd ("h",7,{OH.OH_MODDATE})
This works great! However, I do not really want to modify this 2x a year. I'd prefer it to be automatic. I did come across another post where it referenced the creating a SQL expression to handle this and I also tried to figure out how to use the ShiftDateTime function, but I cannot get this to work.
Can anyone give me details (very specific) on how to automate this timezone switch? Thanks in advance. This is my first time on the forum and it helped me get a lot further than I was I just need a little more help!
Laura
DateAdd ("h",7,{OH.OH_MODDATE})
This works great! However, I do not really want to modify this 2x a year. I'd prefer it to be automatic. I did come across another post where it referenced the creating a SQL expression to handle this and I also tried to figure out how to use the ShiftDateTime function, but I cannot get this to work.
Can anyone give me details (very specific) on how to automate this timezone switch? Thanks in advance. This is my first time on the forum and it helped me get a lot further than I was I just need a little more help!
Laura