date command

date command

Chaim Keren-Tzion chaim at intercomp.co.il
Mon Nov 9 01:26:05 IST 2009


$ date  -d 'Mon 11/9 2:25 AM'
Mon Nov  9 02:25:00 IST 2009

Chaim

On Mon, Nov 9, 2009 at 12:34 AM, Erez D <erez0001 at gmail.com> wrote:

> # date  -d 'Mon 9/11 2:25 AM'
> Fri Sep 11 02:25:00 IDT 2009
>
> but i want it to return:
> Mon Nov  9 02:25:00 IDT 2009
>
> i tried setting LC_TIME but this didn't help.
>
> any idea ?
>
> cheers.
> erez.
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20091109/3e3d7fab/attachment.html>


More information about the Linux-il mailing list