I have a database that stores dates as UTC. I need to perform a query but convert the output to local time. Is there an easy way to do that? It's also important that the query find items relative to local time.
The date column would have entries hourly and I would want to spit out a result showing the entries for the last 24 hours. This is SQL server 2005.
The date column would have entries hourly and I would want to spit out a result showing the entries for the last 24 hours. This is SQL server 2005.