OH3 .getHour "is not in a valid format"

Have you seen this thread: