Here is my situation. I have dates for transactions that are stored in the db. These dates are in GMT (greenwich mean time) and i want to convert the dates to EST(eastern standard time) or EDT (easter daylight time) according to the date. If the date occurs in February, i want a query that will automatically convert the date to EST. If the date occurs in July, i want to automatically convert it to EDT. The problem is that i need to run a single query over large date ranges and need to good way to convert the date for each record. The NEW_TIME function will not work because i need to know what timezone (EDT or EST) i want to convert the date to.
Does anyone know of a function that takes a date and general timezone (eastern) as an input and outputs the correct timezone (EDT or EST)? Or does anyone have any other ideas? Thanks for the help!
Does anyone know of a function that takes a date and general timezone (eastern) as an input and outputs the correct timezone (EDT or EST)? Or does anyone have any other ideas? Thanks for the help!