[CentOS] convert standard time to unix time bash
Les Mikesell
lesmikesell at gmail.comThu Jun 18 19:06:03 UTC 2009
- Previous message: [CentOS] convert standard time to unix time bash
- Next message: [CentOS] PERC6 driver on CENTOS 5.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 use the +%s to get the current unix time. -- Les Mikesell lesmikesell at gmail.com
- Previous message: [CentOS] convert standard time to unix time bash
- Next message: [CentOS] PERC6 driver on CENTOS 5.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list