I would like to combine a date and a time value, based on the condition, that the "time of the day" field is set to "Morning (09:00 - 13:00)". The syntax is working but when I look into the field, it is always still blank. Does anybody have a hint?
IF(
text(Time_of_the_Day__c) = "Morning (09:00 - 13:00)",
DATETIMEVALUE(text(Date__c) + " " + "09:00") + 8 / 24,
DATETIMEVALUE(text(Date__c) + " " + "14:00") + 8 / 24
)