You need to sign in to do that
Don't have an account?
evgenyka
Date Format
Hello
I am how do i change date format
I am selecting fields from an object and all the fields come in YYYY-MM-DD fromat
I need to use Oracle Date format YYYY-MM-DD HH:MI:SS
Thank You
I am how do i change date format
I am selecting fields from an object and all the fields come in YYYY-MM-DD fromat
I need to use Oracle Date format YYYY-MM-DD HH:MI:SS
Thank You
Message Edited by evgenyka on 06-17-2007 09:20 AM
Salesforce.com has two kinds of fields - date and date/time. The date fields contain only the date information. A date/time field contains the date and the time in the format you are looking for.
If you are retrieving a date field, you would have to make up a dummy time and append it to the string returned.
Also, all times are stored as Greenwich time (Zulu), so remember to adjust for your location.