Re: Date Conversion

From: Jerome Vitalis <vitalismanREMOVETHAT_at_gmail.com>
Date: Thu, 27 Jul 2006 10:32:51 +0200
Message-ID: <44c87a52$0$14327$636a55ce_at_news.free.fr>


pawan_test wrote:
> Hi All,
>
> i have a directory such as;
>
> find /home/pavi/ctl/INFOSCAN.KKK.*.*.ctl* -exec ls -ltr {} \; | awk
> -F" " {'print $6 " " $7'}
>
> the output is : Jul 25
>
> can anyone please suggest me how do I convert the above into YYYYMMDD
> FORMAT.
>
> Thanks
> pavi
>

  • Do you realize you've posted in c.d._ORACLE_.t?
  • If on Linux, you can add --time-style=+%Y%m%d to 'ls -lrt' in your command and change your awk print.
Received on Thu Jul 27 2006 - 10:32:51 CEST

Original text of this message