Skip to main content
Shaun Bailey (defi SOLUTIONS) 님이 #Data Management에 질문했습니다
I 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 1485451316
답변 3개
  1. 2017년 1월 26일 오후 5:35
    So something like

     

    DateType = Formula

     

    Result = Number 

     

    Formula = 

     

     

    (DateTime_1__c - DATETIMEVALUE( "1970-01-01 00:00:00" )) * 86400