You need to sign in to do that
Don't have an account?
bubkirchner
Formatting DateTime fields in Apex Explorer...
Is there way to format a dateTime field in Apex Explorer? I want to be able to see the milliseconds information for the CreateDate and LastModifiedDate?
Here is a sample SOQL:
Select l.CreatedDate, l.Id, l.LastModifiedDate, l.ImportId__c
from Lead l
where id = '00QQ00000015reWMAQ'
Hey
You can use the format() method of the DateTime type to choose what is and isn't displayed. The reference can be found here: http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_methods_system_datetime.htm?SearchType=Stem
Cheers,
Wes