Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Hi Experts,

i'm having a problem with date

1.i created attribute called From of Type Date

2.Binded with input field default it taking system date month year ......dd-mm-yyyy......25-09-2008

My problem is

i want to set that date to some other DD-mm-yyyy 01-01-2008 plz give me some solution

Former Member
Former Member replied


Did you try this..

public void wdDoInit()
    //@@begin wdDoInit()
	  Calendar calendar = new GregorianCalendar(2008, 0, 1);
	  Date date = new Date(calendar.getTimeInMillis());

This will start the date at 01/01/2008 and user should be able to select any date.

Hope this helps.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question