Page 1 of 1

Date conversion

Posted: Thu Jun 12, 2008 6:06 am
by dnat
Hi,

I want to output today's date in one of the output column in a sequential file. The output format is mm/dd/yyyy. I am trying this .OConv(@DATE,'D/YMD[2,2,4]'). But it is not working..can anyone help me out.

Thanks

Re: Date conversion

Posted: Thu Jun 12, 2008 6:16 am
by sachin1
oconv(@date,"D/MDY[2,2,4]") gives output as 06/12/2008

Posted: Thu Jun 12, 2008 6:24 am
by dnat
Thanks a lot!! and it worked.