Hi Yaramareddy radhika In your controller, create a property: public Date Today { get { return Date.today(); } }
In the VF page, try using: <apex:outputText value="{0,date}"> <apex:param value="{!Today}" /> </apex:outputText> Hope it will help you. if you think your question is solved markk it as best answer. Thanks
In your controller, create a property:
public Date Today { get { return Date.today();
}
}
In the VF page, try using:
<apex:outputText value="{0,date}">
<apex:param value="{!Today}" />
</apex:outputText>
Hope it will help you.
if you think your question is solved markk it as best answer.
Thanks
Use <apex:inputfield> by default today ill be displayed on calendar. DOnt make standardstyleesheet =false on page.
Hope this will help you..!
http://theblogreaders.com/how-to-get-the-current-date-and-year-using-apex-class/
https://developer.salesforce.com/forums/?id=906F000000095AUIAY