You need to sign in to do that
Don't have an account?

Сonversion date
Good day!
This problem:
There is a code in the controller:
Map <id,Action_Goal__c> aMap = new Map <id,Action_Goal__c> (
[select Goal_Description__c, id, Goal_Type__c, Targeted_Due_Date__c, Name, Status__c, CreatedDate
From Action_Goal__c
Where ToLabel (Goal_Type__c) =: MyGoalType
AND ((CALENDAR_Year (Targeted_Due_Date__c) =: MyYear AND CALENDAR_Month (Targeted_Due_Date__c) =: MyMonth)
OR (Status__c! =: BusinessPlanUtil.Completed))
AND CreatedById =: MyUserID
]);
Output the variable in VisualForce:
<apex:column style="text-align:" headervalue="Goal set in" value="{!GT.CreatedDate}" />
The result:
Wed Sep 05 10:06:20 GMT 2012
required:
1. List only month
2. Convert to user's local time
Forgive you for help!
Try the following:
This should ouput the full month name, in the current user's local time. If you want the abbreviated month name, just put three M's instead of four in the outputText value parameter.