Timezone Converter

Convert dates and times between different timezones.

Endpoint

POST https://www.acrewity.com/api/services/execute

Authentication

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

n8n Integration

This service is also available via our n8n community node: @acrewity/n8n-nodes-acrewity

Operations

Convert Timezone

Convert time between different timezones

Operation ID: convert_timezone

Parameters

Parameter Type Required Default Description
datetime string Yes - Date and time to convert (ISO 8601 or common formats)
fromTimezone string Yes - Source timezone (e.g., America/New_York, UTC, Europe/London)
toTimezone string Yes - Target timezone (e.g., Asia/Tokyo, Pacific/Auckland)

Example Request

Convert Business Hours (New York to Tokyo):

{
  "service": "timezone-converter",
  "operation": "convert_timezone",
  "parameters": {
    "datetime": "2024-12-30 09:00:00",
    "fromTimezone": "America/New_York",
    "toTimezone": "Asia/Tokyo"
  }
}

Convert UTC to Multiple Timezones:

{
  "service": "timezone-converter",
  "operation": "convert_timezone",
  "parameters": {
    "datetime": "2024-12-30T14:30:00Z",
    "fromTimezone": "UTC",
    "toTimezone": "Europe/London"
  }
}

Schedule Global Meeting:

{
  "service": "timezone-converter",
  "operation": "convert_timezone",
  "parameters": {
    "datetime": "2024-12-31 10:00:00",
    "fromTimezone": "Europe/Berlin",
    "toTimezone": "America/Los_Angeles"
  }
}

Example Response

{
  "success": true,
  "result": {
    "data": {
      "originalTime": "2024-12-30, 09:00:00 Eastern Standard Time",
      "convertedTime": "2024-12-30, 23:00:00 Japan Standard Time",
      "timezoneOffset": "+14 hours",
      "fromTimezone": "America/New_York",
      "toTimezone": "Asia/Tokyo",
      "originalDateTime": "2024-12-30 09:00:00"
    }
  },
  "credits_used": 1
}

More Examples

See Utilities & Helpers Examples for complete workflow examples including global meeting scheduling, deadline coordination, and multi-region event planning.