Re: Date Conversion

From: pawan_test <sridhara007_at_gmail.com>
Date: 26 Jul 2006 11:24:44 -0700
Message-ID: <1153938284.800403.103250_at_p79g2000cwp.googlegroups.com>


Hello Frank,

i tried without using the quotes;
find /home/pavi/ctl/INFOSCAN.KKK.*.*.ctl* -exec ls -ltr {} \; | awk  -F" " {'print $6 $7'}

the output is : Jul25

my desired output is: 0725

Thanks
pavi

Frank van Bortel wrote:
> pawan_test schreef:
> > 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
> >
>
> Not oracle AT ALL!
> Hint: try 'man awk' without the quotes on the command prompt
>
> --
> Regards,
> Frank van Bortel
>
> Top-posting is one way to shut me up...
Received on Wed Jul 26 2006 - 20:24:44 CEST

Original text of this message