Salesforce
PDII · Question #30
Which method should be used to convert a Date to a String in the current user's locale?
The correct answer is A. Date.format. See the full explanation below for the reasoning.
Question
Which method should be used to convert a Date to a String in the current user's locale?
Options
- ADate.format
- BString.format
- CString.valueOf
- DDate.parse
How the community answered
(47 responses)- A85% (40)
- B2% (1)
- C4% (2)
- D9% (4)
Community Discussion
No community discussion yet for this question.