ISO date format on SOAP interface
ISO date format on SOAP interface
- Subject: ISO date format on SOAP interface
- From: Gordon Maynard <email@hidden>
- Date: Thu, 12 Oct 2006 22:07:29 +0100
I'm using Applescript to extract data from a Web Service developed using WebObjects. The format of the response is as follows:
{gid:{primarykeys:{1}, entityname:"folderList"}, websafefoldername:"folderName", datestamp:«data isot323030362D30382D31315432333A30303A30305A», foldername:"Folder Name", folderid:1}
if I add the line:
get datestamp of theRecord as date
I get the correct result:
date "Friday, August 11, 2006 23:00:00"
However, I can't find the means to convert an Applescript date into the ISO format which the Web Service appears to need to write records back. I have tried sending the "datestamp" variable straight back and I get an error:
While this may be a problem in the WebObjects application, which I wouldn't expect this list to answer, for now the question is how to handle the date format in Applescript so I can be confident about the data I am sending. Does anyone have experience of handling dates in this format?
Thanks in advance, Gordon.
Gordon Maynard m: 07 970 638 415 AIM: maynardaim
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden