IF(OR(isblank(formulacheck__c.Start_DateTime__c),isblank(formulacheck__c.End_dateTime__c)),NULL,
TEXT(FLOOR( formulacheck__c.End_dateTime__c-formulacheck__c.Start_DateTime__c)) + "日" +
TEXT ( FLOOR( (formulacheck__c.End_dateTime__c-formulacheck__c.Start_DateTime__c - FLOOR( formulacheck__c.End_dateTime__c-formulacheck__c.Start_DateTime__c))*24) ) + "時間" +
TEXT( FLOOR( ( (formulacheck__c.End_dateTime__c-formulacheck__c.Start_DateTime__c - FLOOR( formulacheck__c.End_dateTime__c-formulacheck__c.Start_DateTime__c))*24 - FLOOR( (formulacheck__c.End_dateTime__c-formulacheck__c.Start_DateTime__c - FLOOR( formulacheck__c.End_dateTime__c-formulacheck__c.Start_DateTime__c))*24) )*60 ) ) + "分"
)
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme