Unix Epoch Time

Linux specific forum
mocitymm
User
User
Posts: 37
Joined: Wed Feb 08, 2017 6:56 pm

Unix Epoch Time

Post by mocitymm »

Does anyone have examples of unix epoch time conversion from a given time stamp i.e. (1582897686)?

I can do this in Pascal... built in function for it.

Looking to convert it to local date/time (am/pm) if possible. Hints and pointers greatly appreciated!

Regards,

-M
User avatar
NicTheQuick
Addict
Addict
Posts: 1224
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Unix Epoch Time

Post by NicTheQuick »

Here you go

Code: Select all

Debug FormatDate("%dd.%mm.%yyyy %hh:%ii:%ss", 1582897686)
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
mocitymm
User
User
Posts: 37
Joined: Wed Feb 08, 2017 6:56 pm

Re: Unix Epoch Time

Post by mocitymm »

NicTheQuick wrote:Here you go

Code: Select all

Debug FormatDate("%dd.%mm.%yyyy %hh:%ii:%ss", 1582897686)
Thank you NicTheQuick. Completely unaware it was that easy, one step closer.

-M
Post Reply