Skip to Content
0
Former Member
Oct 04, 2009 at 06:05 AM

Very easy question - How to find out the first date of year

16 Views

Hi Experts,

I have created Web Dynpro program. I have to set one field "start_date" as first date of year. For example if current date is 04/10/2009, then program should set value of field "start_date" as 01/01/2009.

If suppose program is used on 12/12/2012, then program should set the value of "start_date" as 01/01/2012.

Please peovide me some code.

Regards,

Gary