/users/{userId}/meetings getting new meeting with different time

My new meeting has expected date but different time

Description
I am sending a request to create a meeting with specific date and time

Error
I get the meeting created with the correct date but different time.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT

Which Endpoint/s?
/users/{userId}/meetings

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. body:
"body": {
    "topic": "dr45",
    "type": 2,
    "start_time": "2021-06-01T09:00:00",
    "duration": 60,
    "schedule_for": "alexis.joel.rengifo.cancino@gmail.com",
    "timezone": "America/Los_Angeles",
    "password": "342234324",
    "agenda": "dr45 agenda",
    "settings": {
      "join_before_host": true,
      "approval_type": 0,
      "meeting_authentication": false,
      "allow_multiple_devices": true
    }
  },
  1. Complete response:
{
  "uuid": "a3lvjtYJTQepcPnNMk1a/Q==",
  "id": 96556703026,
  "host_id": "uTERRoRiQSuiTj68U581lw",
  "host_email": "alexis.joel.rengifo.cancino@gmail.com",
  "topic": "dr45",
  "type": 2,
  "status": "waiting",
  "start_time": "2021-06-01T22:16:20Z",
  "duration": 60,
  "timezone": "America/Los_Angeles",
  "agenda": "dr45 agenda",
  "created_at": "2021-06-01T22:16:20Z",
  "start_url": "https://nuagedx.zoom.us/s/96556703026?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiJ1VEVSUm9SaVFTdWlUajY4VTU4MWx3IiwiaXNzIjoid2ViIiwic3R5Ijo5OSwid2NkIjoiYXcxIiwiY2x0IjowLCJzdGsiOiJpb0dmY0VhdFg0bkN5Vm9WOXBuQ0psc2ZCM1Vja21kR2RaUDFwcW5GYXdvLkJnWTRMMGRvVlU5S1NFazRLM2w2UzBKNWNVTTJhbWxYUjJWdWNFTTNXRVZUYzBWdGJDOVFWRlJCVldkaE5GQmlSM2wxVG5wNFFrZFJQVDBBQUF3elEwSkJkVzlwV1ZNemN6MEFBMkYzTVFBQUFYbkpwaWpDQUJKMUFBQUEiLCJleHAiOjE2MzAzNjE3ODAsImlhdCI6MTYyMjU4NTc4MCwiYWlkIjoiS3FWTjBnMlBSM2VWY1dnek1MVkxrUSIsImNpZCI6IiJ9.L6H3t5VsXpoU6L83ywC6Nn8ngYB8H5k5JScxzoaxNZo",
  "join_url": "https://nuagedx.zoom.us/j/96556703026?pwd=TEdVaUgvZjlRb1R5OGdUMHVEVzZ4dz09",
  "registration_url": "https://nuagedx.zoom.us/meeting/register/tJIocu-vrjgqGNJ0C6Ltc3P542bwL4o4ubhB",
  "password": "342234324",
  "h323_password": "342234324",
  "pstn_password": "342234324",
  "encrypted_password": "TEdVaUgvZjlRb1R5OGdUMHVEVzZ4dz09",
  "settings": {
    "host_video": false,
    "participant_video": false,
    "cn_meeting": false,
    "in_meeting": false,
    "join_before_host": true,
    "jbh_time": 0,
    "mute_upon_entry": false,
    "watermark": false,
    "use_pmi": false,
    "approval_type": 0,
    "audio": "both",
    "auto_recording": "none",
    "enforce_login": false,
    "enforce_login_domains": "",
    "alternative_hosts": "",
    "close_registration": false,
    "show_share_button": true,
    "allow_multiple_devices": true,
    "registrants_confirmation_email": true,
    "waiting_room": true,
    "request_permission_to_unmute_participants": false,
    "global_dial_in_countries": [
      "US"
    ],
    "global_dial_in_numbers": [
      {
        "country_name": "US",
        "city": "Chicago",
        "number": "+1 3126266799",
        "type": "toll",
        "country": "US"
      },
      {
        "country_name": "US",
        "city": "Houston",
        "number": "+1 3462487799",
        "type": "toll",
        "country": "US"
      },
      {
        "country_name": "US",
        "city": "New York",
        "number": "+1 6468769923",
        "type": "toll",
        "country": "US"
      },
      {
        "country_name": "US",
        "city": "San Jose",
        "number": "+1 6699006833",
        "type": "toll",
        "country": "US"
      },
      {
        "country_name": "US",
        "city": "Tacoma",
        "number": "+1 2532158782",
        "type": "toll",
        "country": "US"
      },
      {
        "country_name": "US",
        "city": "Washington DC",
        "number": "+1 3017158592",
        "type": "toll",
        "country": "US"
      }
    ],
    "contact_name": "GMAIL Owner",
    "contact_email": "alexis.joel.rengifo.cancino@gmail.com",
    "registrants_email_notification": true,
    "meeting_authentication": false,
    "encryption_type": "enhanced_encryption",
    "approved_or_denied_countries_or_regions": {
      "enable": false
    },
    "breakout_room": {
      "enable": false
    },
    "alternative_hosts_email_notification": true,
    "device_testing": false
  }
}

Additional context
I am using a nodejs in backend using firebase cloud functions.

Hey @spid33p,

Thank you for reaching out to the Zoom Developer Forum. This is happening because the start_time returned by the API is using the GMT timezone:

image

You should see that converting that time from GMT to your timzone yields the expected time.

Let me know if you have any questions.

Thanks,
Max