Shaun Bailey (defi SOLUTIONS) asked in #Data ManagementJan 26, 2017, 5:22 PMConvert DateTime to NumberI need to convert a datetime field to a number (specifically epoch time). Does anyone know how to do this in a formula? Ex: 1/26/2017 17:21:56 to 14854513163 answersSortSort by DateSort by Most HelpfulSort by DateLoad more comments...Accepted AnswerSteve Molis (You Owe Me a Beer, Inc.)Jan 26, 2017, 5:35 PMSo something like DateType = Formula Result = Number Formula = (DateTime_1__c - DATETIMEVALUE( "1970-01-01 00:00:00" )) * 86400 Show More
Accepted AnswerSteve Molis (You Owe Me a Beer, Inc.)Jan 26, 2017, 5:35 PMSo something like DateType = Formula Result = Number Formula = (DateTime_1__c - DATETIMEVALUE( "1970-01-01 00:00:00" )) * 86400 Show More