i have a trigger that will update a custom date field in my case but it seems like my calculation is wrong.
This is my trigger:
c.SLA_Cont_Time__c = System.now() - c.SLA_Days_mins__c;
c.SLA_Cont_Time__c is my custom date/time field and c.SLA_Days_mins__c is a numeric field that i need to minus it to get latest value. but my c.SLA_Cont_Time__c keep getting the System.now() value. why it will not take the after subtraction value?