You need to sign in to do that
Don't have an account?
Christine Luo
App Customization Specialist Challenge 2-- Shift Hours
Hello,
I got this message for the Shift Hours field which I thought would be a simple fomula (Shift_End_Time__c - Shift_Start_Time__c). The Return field is Number.
"The 'Shift Hours' field on the 'Volunteer Shift' record is not working as expected."
What did I wrong?
Thanks!
I got this message for the Shift Hours field which I thought would be a simple fomula (Shift_End_Time__c - Shift_Start_Time__c). The Return field is Number.
"The 'Shift Hours' field on the 'Volunteer Shift' record is not working as expected."
What did I wrong?
Thanks!
Try using this formula:
( Shift_End_Time__c - Shift_Start_Time__c ) *24
Worked for me.
Thanks.
All Answers
Try this FLOOR ((Shift_End_Time__c - Shift_Start_Time__c)*24) for Shift Hours field.
Thanks!
Refer below link for similar discussion.
https://developer.salesforce.com/forums/?id=9060G0000005YEmQAM
https://success.salesforce.com/answers?id=9063A000000eDbcQAE
Best Regards,
Sandhya
Try using this formula:
( Shift_End_Time__c - Shift_Start_Time__c ) *24
Worked for me.
Thanks.