Skip to main content

Convert between timezones.

POST 

/dateandtime/switchtimezone

Converts a date and time from one timezone to another.

Request​

Header Parameters

    ipaas string

Bodyrequired

    inputTime objectrequired

    The time that will be converted.

    anyOf
    string
    inputTimeZonestringrequired

    The timezone of the input time.

    Example: Europe/Berlin
    formatPatternstring

    The format of the output time.

    destinationTimeZonestringrequired

    The timezone of the output time.

Responses​

Success

Schema
    convertedTimestringrequired
    timeZonestringrequired