sinha_vishwa
19th August 2008, 14:30
Hai Friends,

how to print a Date type variable.I mean..
I declared i what type of format specifier ,I should take


date i
message(%? , i)

Thanks in Advance
Vishwa Jeet

manish_patel
19th August 2008, 15:06
Hi,

domain tcdate i

Now you can use message(sprintf$("%D002", i)) or message(sprintf$("%D(%02d/%02m/%04Y)", i)) according to your requirement.

Please check below link for more details.

sprintf$() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_formatting_io_sprintf)

-Manish