Unix Timestamp to Current Time
in
Programming Questions
•
1 year ago
Hello
I am searching for a formula to do this conversion from Unix Timestamp to current time. Does anyone have a clue about that?
For example, the number I have is this one
1345816819, that represents a normal date and time. I need to convert it in normal values.
I have also found
this website that explains the conversion process, I tried it but no luck!
float newTimeStamp = (newTimeStamp / 86400) + 25569 + ( 2 / 24);
My result is 41145.586, which I think is not correct :-S
Thnx!!!
1