FavoritColin Samson (Evolve) fragte in #Data Management19. Jan. 2012, 12:45Weekday hour calculationSo I have two custom date / time fields. How do I calculate the number of hours between them (for a workflow email) that exclude weekends?1 AntwortSortierenNach Datum sortierenNach "Am hilfreichsten" sortierenNach Datum sortierenMarco (werewolf) Casalaina (Salesforce)19. Jan. 2012, 17:39Well, you could use the BusinessHours method in Apex. If you install Case Age In Business Hours in a sandbox, you can see its code and do the calculation like that.Kommentar hinzufügenAntwort schreiben...FettKursivUnterstreichenDurchstreichenListe mit GliederungspunktenNummerierte ListeLink hinzufügenCodeblockBild einfügenDateien anhängenLink-URLAbbrechenSpeichern0/9000Antworten
Marco (werewolf) Casalaina (Salesforce)19. Jan. 2012, 17:39Well, you could use the BusinessHours method in Apex. If you install Case Age In Business Hours in a sandbox, you can see its code and do the calculation like that.