Quote:
Originally Posted by
pludi
Two things that come to mind:
- Check your time on the tablet, maybe it isn't set correctly
- Check the output of date --help, maybe %s doesn't print the epoch-time in your version
Because a six digit epoch time sure as hell isn't right (except if you're posting through time. In that case I might have some messages for you to relay to Mr. Thompson, Mr. Kernighan, Mr. Ritchie, and some others...)
You are completely right.
Epoch time on my old Internet Tablet is
Fri Jan 2 11:00:50 CET 1970
I loaded acu, get it wifi connected to the Internet
and expected time to reset.
Unfortunately. Nothing of this kind.
Ok. All I need is to convert sex seconds into decimal seconds
than into readable format like
01:44:46
and convert hex bytes into decimal bytes, than into something like
4.481MB or 1.026GB
I need to timestamp converted data with a real date.
Read how to configure my tablet to get connected to ntp server on boot up but don't know if it supports the described procedure.
Set time manually.
Run example and the same error, as system time has nothing to do with the problem (I suppose so).
I need to count seconds and convert into minutes, hours, days,
so I go to test example from reply.
thanks
Jack