hii Shweta,
1st. You have to simply use apex:inputfield and bind the field with date type field and it will automatically take the Sales force Calander.Given example
<apex:page standardcontroller=’Account’>
<apex:form>
<apex:inputfield value=”{!Account.DateTypeField}”
</apex:form>
</apex:page>
Please go through this link https://developer.salesforce.com/forums/?id=906F000000097bvIAA
This reply was modified 5 years, 12 months ago by Marziya.