I have a pageBlockTable whose column headers are dynamically generated based on the date. I would like to hide any column whose date falls on a Sunday. Below is the sample of the code for one of the columns.
<apex:column >
<apex:facet name="header">
<apex:outputPanel >
<apex:outputText value="{0, date, EEEE}">
<apex:param value="{!NOW()}" />
</apex:outputText>
</apex:outputPanel>
</apex:facet>
<apex:outputText value="{!Appointment.Open__c}"/>
</apex:column>
Is it possible to set the rendered attribute of the column to the result of the boolean expression of whether the current day is Sunday?