API

Build cool stuff that works with Remember The Milk.

menu

rtm.time.convert

Description

Returns the specified time in the desired timezone.

Availability

Available in versions 1 and 2.

Authentication

This method does not require authentication.

Arguments

api_key (Required) 1 2
Your API application key. See here for more details.
to_timezone (Required) 1 2
Target timezone. A list of valid timezones can be retrieved with rtm.timezones.getList.
from_timezone 1 2
Originating timezone. A list of valid timezones can be retrieved with rtm.timezones.getList. Defaults to UTC.
time 1 2
Time to convert in ISO 8601 format. Defaults to now.

Example Response

<time timezone="Australia/Sydney">2015-05-07T10:00:00</time>

Error Codes

96 Invalid signature
The passed signature was invalid.
97 Missing signature
The call required signing but no signature was sent.
98 Login failed / Invalid auth token
The login details or auth token passed were invalid.
100 Invalid API Key
The API key passed was not valid or has expired.
105 Service currently unavailable
The requested service is temporarily unavailable.
114 Invalid SOAP envelope
The SOAP envelope sent in the request could not be parsed.
115 Invalid XML-RPC Method Call
The XML-RPC request document could not be parsed.
120 Method not valid for requested version
The requested method is not compatible with the requested version.