-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Monday 2007-11-19 at 23:04 -0500, Ken Jennings wrote:
[EMAIL PROTECTED]:~> date --date="2007-1-1 100 minutes"
Mon Jan 1 01:40:00 CET 2007
Maybe it can be refined, but you can see it does the conversion of 100
minutes.
That's an interesting variation of the date command. And I'm certainly
going to keep that in mind should the need for that type of variation
arise. But in my script case, I was looking to convert a value into
minutes/seconds not relative to clock time.
My itchy trigger finger deleted several emails in the thread. Did anyone
refine the date cccommand???
Nop :-)
$ date --date="2007-1-1 100 seconds" +"This is %M:%S minutes"
This is 01:40 minutes
Right!
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFHQuYWtTMYHG2NR9URAiQiAJ0ch7QlvEpR0vfAv1iJwIrEiSXt6QCeJybY
exzdWZOjCvYXTlE0nYaKCWo=
=Hnhz
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]