I am trying to create a SQL query or modify the data in Excel after export from SQL which will give me the correct Date/Time for Last Login of users in the system. However, the Sample SQL queries reference a to_timestamp function which is an Oracle only function, and i haven't been able to figure out what date is the reference date for the Milliseconds or how to convert the milliseconds correctly to be added to that date.
I even reached back to Algrebra class knowledge, and created 2 equations with 2 variables in order to solve for them and calculate based on that, but values outside of my reference times are still inaccurate. Any help will be appreciated. Thanks.
DB: MSSQL 2008