sharon.chapman7
New member
- Local time
- Yesterday, 18:17
- Joined
- Aug 31, 2011
- Messages
- 6
Hi,
I am trying to convert a UNIX Timestamp to a normal date. I am using Microsoft Access 2003 on an XP Operating system. I am getting a runtime error #6. Can someone please tell me how to fix this? Here is my code:
UNIXDateTimeStamp = 1306347240612
Public Function sDate(UNIXDateTimeStamp As Double)
sDate = DateAdd("s"), UNIXDateTimeStamp,"01/01/1970 hh:mm:ss")
End Function
I am trying to convert a UNIX Timestamp to a normal date. I am using Microsoft Access 2003 on an XP Operating system. I am getting a runtime error #6. Can someone please tell me how to fix this? Here is my code:
UNIXDateTimeStamp = 1306347240612
Public Function sDate(UNIXDateTimeStamp As Double)
sDate = DateAdd("s"), UNIXDateTimeStamp,"01/01/1970 hh:mm:ss")
End Function