I need to find no of working days between CreatedDate of record and a new custom field of Date.I am using businesshours to find no of working days. the issue is CreatedDate will return DateTime object which having time also, where as the custom field has only Date. So when i find the no of working days between 5/17/2023, 3:24 AM and 5/18/2023 it returns 0, where as i am expecting to get 1. How to find the difference between dates only.
I have used date() on CreatedDate. it is working fine then, but i need to find any other solution is possible