convert EPOCH date

G

Guest

I have a 2003 access table linked to a MySQL table with a date field using
the EPOCH format. I have access form to display that date, but I need to
display it in a more readable format. Does anyone know how to make this
conversion? I rarely use MS Access so any help would be appreciated. Thanks.
 
A

Al Camp

Mike,
Did you try searching the Access newsgroups on Google groups. I found
this one from Marshall Barton from 2001... and others. Adjust the output
format to suit...
 
J

John Vinson

I have a 2003 access table linked to a MySQL table with a date field using
the EPOCH format. I have access form to display that date, but I need to
display it in a more readable format. Does anyone know how to make this
conversion? I rarely use MS Access so any help would be appreciated. Thanks.

What's EPOCH format look like? Could you post an example, with enough
information to determine how to do the conversion?

John W. Vinson[MVP]
 
G

Guest

Thanks for the info. I ended up using:
=DateAdd("s",([timestamp]-21600),#1/1/1970#)

timestamp is the name of the timestamp field and -21600 compenstates for the
timezone. I should also note that this needs to be entered as the control
source.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top