RE - Date Conversion

Hi Everyone,

A date field is there. 13/10/2011.

now i need to separate those date like this Oct - 11 in my report.

How can i do this.

Regards,

Madhan

Hi madhan,

you can use the following code

display str dateChange()
{
date currentDate = today();
str s;
;
s = date2Str
(currentDate,
21,
DateDay::Digits2,

DateSeparator::Hyphen, // separator1
DateMonth::Short,
DateSeparator::None, // separator2

DateYear::None
);
return s;

}

regards

Jyothi

Thankz Jyothi…

Its working now…

And do u know the flow of CustAging Report.

If means kindly share with me…