-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Flavio Stanchina wrote: | Flavio Stanchina wrote: | |>Sto cercando un comando della shell in grado di interpretare una data |>espressa come numero di secondi dal 1/1/1970 [...]
Dagli archivi della ML, in data 24/04/2004 (quindi un anno fa giorno + giorno -) feci la stessa domanda e un buon samaritano mi diede la giusta imbeccata:
- ----------------------------------------------------------------------
| date -d '1970-01-01 +10 hours timestamp sec'
Proviamo: zipmanfw:/home/mail/tmp# date -d '1970-01-01 +1 hours 1082666074 sec' Thu Apr 22 22:34:34 CEST 2004
Wonderful!!!
| Ho vinto qualche cosa? | DIaolin
Hai vinto la mia stima!!!
Se non ti bastasse ti offro da bere la prox volta che ci si incontra ;-)
TNX
- ----------------------------------------------------------------
- -- Flavio Visentin
| \|||/ | @/0.0\@ | \ - / +------------------oOOo---oOOo------------------
There are only 10 types of people in this world: those who understand binary, and those who don't.
GPG Key: http://www.zipman.it/gpgkey.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCZsOfusUmHkh1cnoRAsyvAJ9FODTgjLzGLmZdPoFO+NfRSPPh8ACeIJ46 H2PtIXIYxJ9An0davzI0OgA= =agvC -----END PGP SIGNATURE----- -- Per iscriversi (o disiscriversi), basta spedire un messaggio con OGGETTO "subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx