function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
If you want to format it in string example
Account acc = [Select id,createdDate from account limit 1];
DateTime myDateTime = acc.createdDate;
String formatted = myDateTime.formatGMT('dd/MM/yyyy HH:mm:ss');
system.debug(formatted);