[CentOS] convert standard time to unix time bash

Tony Asnicar asnicar81 at gmail.com
Thu Jun 18 18:57:18 UTC 2009


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 <asnicar81 at gmail.com> 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
>
> thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090618/07d899fb/attachment.html>


More information about the CentOS mailing list