Establecer como favoritoNishanth Mandala (LastPass) ha preguntado en #Apex29 mar 2016, 12:42Calculate number of days between two datetime values in apexCould someone help me out with this? integer dt1 = day( datevalue(cc1.ClosedDate) ) - today();3 respuestasOrdenarOrdenar por fechaOrdenar por más útilOrdenar por fechaCargar más comentarios...John Pipkin (OpFocus, Inc)29 mar 2016, 12:54Ramshah, Use the daysBetween method in the date class:Integer dt1 = (system.today()).daysBetween(Date.valueOf(cc1.ClosedDate)); Agregar un comentarioEscribir una respuesta...NegritaCursivaSubrayadoTachadoLista con viñetasLista numeradaAgregar vínculoBloque de códigoInsertar imagenAdjuntar archivosURL de vínculoCancelarGuardar0/9000Responder
John Pipkin (OpFocus, Inc)29 mar 2016, 12:54Ramshah, Use the daysBetween method in the date class:Integer dt1 = (system.today()).daysBetween(Date.valueOf(cc1.ClosedDate));