I have a problem with the date function in visualforce.
My code looks as following:
<apex:outputText value="{0, date, DD MMMM YYYY}">
<apex:param value="{!Opportunity.Invoice_Due_Date__c}" /> </apex:outputText>
Invoice_Due_Date__c is a simple datepicker with no specific rules.
Everytime a date is selected month and year are shown correctly, but day always has numbers higher than 150, which makes absolutly no sense.
Do I have to change the code or the settings of the custom field?