def parse_message_body(message_body):
    """ Parse the message body and return datetime. """

    year = message_body['schedule']['year']
    month = message_body['schedule']['month']
    day = message_body['schedule']['day']
    hour = message_body['schedule']['hour']
    minute = message_body['schedule']['minute']
    tz_offset = message_body['tz_offset']

    # Datetime string and format
    dttm_str = f'{year}-{month}-{day} {hour}:{minute}:00 {tz_offset}'

    return dttm_str