Forum > General
Get TimeStamp [Beginner question]
Relative:
Hi Programmers!
How can I get the UNIX timestamp of the current time?
This doesn't work:
--- Code: ---Writeln ('UNIX TimeStamp is : ',Now);
--- End code ---
Relative
motaz:
Did you mean display computer time?
--- Code: ---Writeln ('UNIX TimeStamp is : ', DateTimeToStr(Now));
--- End code ---
Relative:
No, not.
I would like to get this output result:
--- Code: ---UNIX TimeStamp is : 1272809100
--- End code ---
motaz:
what is it representing?
is it seconds from 1970 or something like that?
Relative:
Yes, it is.
Here is an example UNIX time converter site: OnlineConversion.com - Unix Time Conversion
Navigation
[0] Message Index
[#] Next page