You need to sign in to do that
Don't have an account?
Showing date time with Apex:outputtext
Imeant, Do we have any way to show the time in user timezone using Outputtext?
I am trying to show date time with Apex:outputtext using the below code:
I am not using apex code only use for visualforce.
<apex outputLink rendered="{! fld == 'Due__c'}" onclick="updateDueDate('{!r.Id}');return false;" styleClass="actionLink">
<apex outputText value="{0,date,M/d/yyyy h:mm a}" ><apex param value="{!r[fld]}"/></apex outputText>
</apex outputLink>
Hi,
Same thing for Datetime/Date Use Output Text
<apex:outputText value="{0,date,dd/MM/yyyy}">
<apex:param value="{!Today()}"/>
</apex:outputText>
Prem