+ Start a Discussion
AKallAKall 

Date formatting

AKallAKall
I have another challenge with date formatting. Would anybody be willing to demonstrate how to format a date such as
'Oct 6, 2008' into the SF format of yyyy-mm-dd?

Thanks
mikefmikef
Please look at the format, and valueOf methods in the Date Methods section of the Apex docs.

There you will find how to format your date correctly for your needs.