baan999
6th January 2011, 08:58
we want to print in DD/MMM/YYYY format in Infor LN 6.1 FP5,

presently we are printing in dd/mm/yyyy format.

we defined in report fields (reports layout) as " 16 (link) (%u002%U002) it is appearing as dd/mm/yyyy e.g.06-01-2011

Please suggest us what is to be defined in report fields(report layout) for dd/mmm/yyyy

shahudit
6th January 2011, 09:54
Hi

If u want like 05 jan 2010 then u can try the below code.

string result(80)

result = sprintf$("Date: %u(%02d %03H %04Y)", utc.num())

| result contains "Date: 05 Jan 1993"

Best Regards

maheswar
6th January 2011, 14:01
Hi,

I hope the code below can resolve your solution.

string result(80)
result = sprintf$("Date: %D(%02d/%h/%04Y)", date.num())

output:
Date: 11/Nov/2010


Regards,
Maheswar

baan999
26th January 2011, 10:15
noted.......ok