Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ISO date format on SOAP interface



Have tou tried to use ((current date) as «class isot») as string instead ?

 ((current date) as «class isot») -> "2006-10-14T09:56:36"

On Oct 13, 2006, at 3:04 PM, Mark J. Reed wrote:

On 10/13/06, Gordon Maynard <email@hidden> wrote:
Feel free!
The 'isot' is what comes back from the soap call to a Web Service developed
using WebObjects which is wrapped around a MySQL database. The field in the
database is defined as a datetime and the entity in the Enterprise Objects
model as a NSCalendatDate. Applescript _was_ able to handle the value in
this form using the coercion:


set datestamp to datestamp as date

At times like this I have a renewed appreciation for typeless languages. :)


--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (AppleScript- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/lists% 40lestang.org


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >ISO date format on SOAP interface (From: Gordon Maynard <email@hidden>)
 >Re: ISO date format on SOAP interface (From: "Mark J. Reed" <email@hidden>)
 >Re: ISO date format on SOAP interface (From: Gordon Maynard <email@hidden>)
 >Re: ISO date format on SOAP interface (From: "Mark J. Reed" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.