I am trying to build a formula for what day we record shipping product. If we ship product before 21:00:00 we count that as same day and if it ships after 21:00:00 it would count towards the following day. I have the following built but am getting [Null] in my output. Not sure what I am missing - DateTime_Out is Time type and SHIPMENT_DATE is Date Type if that helps.
IF [DateTime_Out] < "21:00:00" THEN DateTimeAdd(DateTimeParse([SHIPMENT_DATE],"%d-%b-%y"),+1,"days") else [SHIPMENT_DATE] ENDIF
All suggestions / insights are appreciated!