Use dateTime helper function in order state test to fix timezone warning