Hi Friends,
I need to dynamically set default values for two date prompts: 'dateFrom' and 'dateTo' (UI: Editbox & Calendar type: Gregorian).
In the first prompt I need to set the default value to 1st day of the current year while I have to set the default value of the second prompt to current date.
Please help me with javascript code for the above requirement. Another thing is I want the default values to appear in the format: yy-mon-dd (month should be like Jan, Feb, Mar.....) if possible.