I get checkin and check our dates from an outside source, and need to add hours to the date field in order to set a specific time in a calendar.
The date with default time is stored as:
3/6/2020 12:00am
the variable for this field is {Start date}
I need to add 15 hours to this calendar entry to make the check-in time
3/6/2020 3:00pm
I use this formula, in order to be able to have the “15” a variable, I use CONCATENTATE to all for a variable in the future.
DATETIME_PARSE( DATETIME_FORMAT( DATEADD({Start date}, CONCATENATE(’+’,15),‘hours’) ,‘M/DD/YYYY h:mm’))
the result of this is…
3/6/2020 3:00am
it should be 3:00pm…
if I add another 12 hours - + 27h
the results are…
3/7/2020 3:00am
am I missing something… why can’t I get the time into the pm half of the day?