FavoriteTania Chattopadhyay (Wipro Ltd) asked in #Salesforce DeveloperAug 31, 2017, 7:24 AMI have created a custom field -( acc date) of date data type which is formula field tracking the value of (created by) field that is in system information section , and now what i want to find out is to convert the value of (acc date) to string.1 answerSortSort by DateSort by Most HelpfulSort by DateAbhilash Mishra (Accenture)Aug 31, 2017, 11:24 AMIf you want this formula field as Text (string) Type just use :TEXT(DATEValue(createdbyDate))if you are converting Date to Text in apex class, string.valueof() method will work.Let me know if you need more help with this.ThanksAdd a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Abhilash Mishra (Accenture)Aug 31, 2017, 11:24 AMIf you want this formula field as Text (string) Type just use :TEXT(DATEValue(createdbyDate))if you are converting Date to Text in apex class, string.valueof() method will work.Let me know if you need more help with this.Thanks