You need to sign in to do that
Don't have an account?
pass selected date value to controller
Hi all
I am displaying datepicker through following code
controller:
Task t = new Task();
public Date selecteddate = t.activitydate;
public Task getTask() { return t; }
page:
<apex:inputField value="{!task.activitydate}"/>
It is sObject binding. i want to to get date which is selected by user through this code and i want to use that date to add event. So is there any way to fetch date from sObject with above code and pass it as in simple Date format for creating event.
Please give some suggestions, code idea.
Thanks in Advance
Huniverse.