Mark44stfc
New Member
- Joined
- Feb 18, 2013
- Messages
- 37
I am currently building a reporting database. The data that is in there will be global but time stamps on the reporting data itself is GMT.
I therefore have to convert, also bearing in mind that clock changes happen at different times I have created a Table which is as follows
Country|Start Date|End Date|OffsetFromGMT
USA|13/03/2016 06:00 | 06/11/2016 07:00 | -04:00
USA|06/11/2016 07:00 | 12/03/2017 06:00 | -05:00
I can then build this table out for 10 years to futureproof my date time conversion
My question, is how to use this type of data in a query to convert a column? or is there a better way of achieving this?
Any heklp is greatly appreciated....
I therefore have to convert, also bearing in mind that clock changes happen at different times I have created a Table which is as follows
Country|Start Date|End Date|OffsetFromGMT
USA|13/03/2016 06:00 | 06/11/2016 07:00 | -04:00
USA|06/11/2016 07:00 | 12/03/2017 06:00 | -05:00
I can then build this table out for 10 years to futureproof my date time conversion
My question, is how to use this type of data in a query to convert a column? or is there a better way of achieving this?
Any heklp is greatly appreciated....