Sitting on my laptop, and play a little with the command date.
I like to display when the system will shutdown.
I and find a solution, but when i type
date +%si get 1285422586
This is the seconds from 1970-01-01 until now.
Now i add this seconds with the command
date -d "1970-01-01 1285422586 sec"My result Sa 25. Sep 14:49:46 CEST 2010.
Hmm it's failed one hour. What's wrong with it?