how to find date

Hai to every one

We have function mthofYr(today()) which gives month

and we have year(today()) which gives year

Now how can i find date, which function i should use for it.

i.e., i will pass 1/10/2011. The function should display me the value 1.

thanks in advance

Hi Hari,

Use the function dayOfMth(date) to get the day from the date…

static void dayOfDate(Args _args)
TransDate d = today();
info(strfmt(“Day - %1”,dayOfMth(d)));

thanks naresh kumar