Establecer como favoritoColin Samson (Evolve) preguntó en #Data Management19 ene 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 respuestaOrdenarClasificar por fechaClasificar por más útilClasificar por fechaMarco (werewolf) Casalaina (Salesforce)19 ene 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.Agregar un comentarioEscribir una respuesta...NegritaCursivaSubrayadoTachadoLista con viñetasLista numeradaAgregar vínculoBloque de códigoInsertar imagenAdjuntar archivosURL de vínculoCancelarGuardar0/9000Responder
Marco (werewolf) Casalaina (Salesforce)19 ene 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.