Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix Date/Time Formatting

Status
Not open for further replies.

pagec

Technical User
May 13, 2002
1
GB
Hi All,

I have a slight problem, which I am sure a few of you know the answer to! I am linking Access to a table in Remedy Helpdesk in order to run some reports. However, Remedy stores its date/time fields in a unix format (the number of seconds since Jan 1st 1970), causing Access to display them as standard numbers when running the report.

Is there a way to convert these seconds into days (not worried about the exact time, just the date)? We can do this through Crystal Reports :
(DATE(1970,1,1)+(TRUNCATE({PSHD_S_HELPDESK.Arrival_Time}/(60*60*24))))
but I am at a loss when it comes to Access!

Any help you can give would be most appreciated!!

Thanks,
Chris
 


DateAdd("s",[Your field],"1/1/1970")
Trisha
padinka@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top