rtm.time.parse
Description
Returns the time, in UTC, for the parsed input.
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.
text(Required) 1 2- Text to parse.
timezone1 2- If specified,
textis parsed in the context oftimezone. A list of valid timezones can be retrieved with rtm.timezones.getList. Defaults toUTC. dateformat1 2- A value of
0indicates an European date format (14/02/2015).A value of1indicates an American date format (02/14/2015). This value is used in case a date is ambiguous. Defaults to1.
Example Response
<time precision="time">2015-05-10T07:00:00Z</time>
Error Codes
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.