|
Question : Convert Epoch Date from Mysql to MS Access
|
|
Ok I am stuck. I have a mysql database that I am linking to in ms access via odbc. I have a date time field that shows as an epoch date. An example is 1203980271000. I have tried a number of various formulas on websites that \ 86400 and i am getting an overflow error when I use most of them. I have tried to put that number above in an epch converter online and it comes back with the correct date...so I am sure that it is an epoch date.
I sincerely hope someone can help me convert this date into a normal date time value that will show in an ms access query.
Thank you very much
|
|
Answer : Convert Epoch Date from Mysql to MS Access
|
|
It is the number of miliseconds since 1/1/1970 and in this case represents 2/25/2008 10:57:51 PM
If you can dispense with the milliseconds than you can see this for yourself in MS Access as follows: Select DATEADD("s", 1203980271, #1/11/1970#)
|
|
|