function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
yaramareddy radhikayaramareddy radhika 

Please tell me code to get todays date link beside the date field in visual force

Rowallim TechnologyRowallim Technology
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
sandeep madhavsandeep madhav
Hi,

Use <apex:inputfield> by default today ill be displayed on calendar. DOnt make standardstyleesheet =false on page.