Re: convert standard time to unix time bash

2009-06-18 Thread Michelle Konzack
Am 2009-06-18 20:30:11, schrieb Tony Asnicar: > :) How?? > > I know that I could convert unix time to standard time like: date -d > "@1234567890" > > but how can I convert standard time to unix time? :D RTFM? -- man date date --date="Thu, 18 Jun 2009 22:21:05 +0200" +%s Thanks, Greetings and

Re: [CentOS] convert standard time to unix time bash

2009-06-18 Thread Les Mikesell
Tony Asnicar wrote: Thank you!! The answer waas: date --date="2009-06-18 18:57" +%s thanks :) The things that --date will accept aren't very well documented in the man page but you can throw things like 'yesterday' or "next-week" or "2 months ago" at it too. And you can omit it and just

Re: convert standard time to unix time bash

2009-06-18 Thread Tony Asnicar
Thank you!! The answer waas: date --date="2009-06-18 18:57" +%s thanks :) On Thu, Jun 18, 2009 at 8:30 PM, Tony Asnicar wrote: > :) How?? > > I know that I could convert unix time to standard time like: date -d > "@1234567890" > > but how can I convert standard time to unix time? :D > > thank

Re: convert standard time to unix time bash

2009-06-18 Thread Mike Castle
I think cross posting to so many lists, particularly across domains is considered rude. Meanwhile... On Thu, Jun 18, 2009 at 11:30 AM, Tony Asnicar wrote: > but how can I convert standard time to unix time? :D date +%s You can mix it with -d for fun things, if you need the time for specific dat

convert standard time to unix time bash

2009-06-18 Thread Tony Asnicar
:) How?? I know that I could convert unix time to standard time like: date -d "@1234567890" but how can I convert standard time to unix time? :D thanks