function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:page controller="DateInVfC"> <apex:form> <apex:inputField value="{!st.Date_Field__c}"/> </apex:form> </apex:page>
public class DateInVfC { public Khan__c st {get;set;} public DateInVfC(){ st = new Khan__c(); st.Date_Field__c = System.today(); } }
Greetings to you!
Please try the below sample code, it is working fine. Kindly modify the code as per your requirement.
Visualforce:
Controller:
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks and Regards,
Khan Anas