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
Olivia FordeOlivia Forde 

I want to do a convert date within a HTML table

I want to do this
<apex:outputText value="  Date {0,date,dd.MM.yyyy}">
                    <apex:param value="{!opportunity.CloseDate}" />
                    </apex:outputText>

and display it within a table like this

<tr>
                    <td  style="height: 15px; border-bottom: 1px solid #cccccc;border-right: 1px solid #cccccc;">Date</td>
                    <td style="border-bottom: 1px solid #cccccc;">{!opportunity.closedate}</td>
                 
                </tr>
 
NagaNaga (Salesforce Developers) 
Hi Olivia,

Please see a sample code below

User-added imageBest Regards
Naga kiran
Olivia FordeOlivia Forde
OK so no way without creating a new controller ?