You need to sign in to do that
Don't have an account?

Calander
HI ,
i wanna display a date picker on my visualforce page
How is this possible using Apex code,
could any one help me how would i achieve
would be helpful if any example or sample is shown for
better understanding
thanks
Hi,
Try the below code sample:
<apex:page >
<apex:form >
<table>
<!-- <input id="demo3" type="text" size="25"><a href="javascript:NewCal('demo3','ddmmmyyyy',true,24)"><img src="images/cal.gif" width="16" height="16" border="0" alt="Pick a date"></a> -->
<!-- NewCal([textbox id],[date format],[show time in calendar?],[time mode (12,24)?]) -->
<td> Date<br></br><input id="t" name="datee" onfocus="DatePicker.pickDate(false,
't', false);" size="12" tabindex="28" type="text" /><span class="dateFormat">[ <a
href="javascript:DatePicker.insertDate('2/3/2011', 't', true);"
>2/3/2011</a> ]</span></td>
</table>
</apex:form>
</apex:page>
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.