• Nawar Shammu
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
Hi there,

I am using the below code and am getting the above error message, this is quiet crucial to business at this very second, can someone please assist.

<apex:page standardController="Opportunity" showHeader="false" renderas="pdf">

<table border="0" cellspacing="0" cellpadding="0" width="100%" id="table1">
    <p align="right">
        <img src='{!URLFOR($Resource.SF_Logo_TI)}' title="logo" /></p>
        <tr align="right">    <td><font face="Arial"></font>        
</td></tr>
<hr/>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="table1">

        <td width="0%"></td>
   <td align="left"><font face="Arial">Invoice number: <apex:repeat value="{!Opportunity.Invoices__r}" var="line2">
   {!line2.name}</apex:repeat></font><br/>
  
   <font face="Arial">Invoice Date: <apex:outputText value="{0,date,MM/dd/yyyy}">
        <apex:param value="{!line2.Invoice_Date__c}"/>
        </apex:outputText></font></td>
Hi there, I am using the following code in visualforce to generate an invoice datew: <apex:repeat value="{!Opportunity.Invoices__r}" var="line2">    {!line2.Invoice_Date__c} but when I click on generate invoice the invoice date shows the time as well 00:00:00 GMT - how do I remove that so it only shows me the date as Day Month Date Year - currently shows me Thu Oct 27 00:00:00 GMT 2016

Please help its taken me 3 days of searching without any success
Hi there, I am using the following code in visualforce to generate an invoice datew: <apex:repeat value="{!Opportunity.Invoices__r}" var="line2">    {!line2.Invoice_Date__c} but when I click on generate invoice the invoice date shows the time as well 00:00:00 GMT - how do I remove that so it only shows me the date as Day Month Date Year - currently shows me Thu Oct 27 00:00:00 GMT 2016

Please help its taken me 3 days of searching without any success