0

Sorry people but I'm really struggling with this and I don't know why... but still.

I have a stored unix timestamp. [a]
I have the current timestamp not in unix format (YYYY-MM-DD HH:MM:SS) [b]

I need to:
1) convert the current timestamp [b] into a unix timestamp
2) I need to take the stored timestamp away from the newly created timestamp
3) I need to add the converted timestamp onto the stored timestamp.

This is for an uptime counter that uses days hours minutes and seconds, not %.

Thanks :)

2
Contributors
1
Reply
3
Views
5 Years
Discussion Span
Last Post by leviathan185
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.