You need to sign in to do that
Don't have an account?
Sandeep Patwardhan
Adding day to date/time field and set time to specific time
Hello,
I am looking for modifying date/time field on record save to set date to next day and set time to 8.00am
e.g. if the date is 6/17/2016 12.20pm then on record save I want to save date to 6/18/2016 08:00am
I am looking for modifying date/time field on record save to set date to next day and set time to 8.00am
e.g. if the date is 6/17/2016 12.20pm then on record save I want to save date to 6/18/2016 08:00am
DATETIMEVALUE(DATE(YEAR(DATEVALUE(Date_Time__c)), MONTH(DATEVALUE(Date_Time__c)), DAY(DATEVALUE(Date_Time__c)))) +1 + 14/24
All Answers
DATETIMEVALUE(DATE(YEAR(DATEVALUE(Date_Time__c)), MONTH(DATEVALUE(Date_Time__c)), DAY(DATEVALUE(Date_Time__c)))) +1 + 14/24
But no matter what date is, I want to set it to 8am next day