I have a column which gives me the GMT hour that a given activity occured in.
so
00
01
02
..
22
23
I have a timezone that the action occured in so 0 for GMT, -5 for EST ect. I need to create an output that gives the hour of the local hour that the action occured in.
Since this GMT hour column is stored in an int function, I can't quite grasp how to convert it to a datetime so I can do dateadd functions on it.
I can't quite grasp how to create a formula for this either since the timezone can be either positive or negative.
I guess I could use a case statement, but I know there is a clean formula that can be applied here.
so
00
01
02
..
22
23
I have a timezone that the action occured in so 0 for GMT, -5 for EST ect. I need to create an output that gives the hour of the local hour that the action occured in.
Since this GMT hour column is stored in an int function, I can't quite grasp how to convert it to a datetime so I can do dateadd functions on it.
I can't quite grasp how to create a formula for this either since the timezone can be either positive or negative.
I guess I could use a case statement, but I know there is a clean formula that can be applied here.