Re: Please help with date format
Re: Please help with date format
- Subject: Re: Please help with date format
- From: Shane Stanley <email@hidden>
- Date: Sat, 16 Aug 2014 09:46:08 +1000
On 16 Aug 2014, at 6:40 am, Brian Christmas <email@hidden> wrote:
> set my startDateTimeNSDAte to my dateFormatter's myDate
You can't pass an AS date to a date formatter, and your expression is meaningless -- date formatters don't have a myDate method. It might be that you want to use stringFromDate:, but then you'd need to either convert your AS date to an NSDate, or use an NSDate to begin with.
But it's not obvious from your code what you're trying to do.
> routine to set the NSDates to a suitable format
Dates don't have formats -- date strings do.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden