Re: Please help with date format
Re: Please help with date format
- Subject: Re: Please help with date format
- From: Brian Christmas <email@hidden>
- Date: Sat, 16 Aug 2014 10:30:46 +1000
G'day Shane
I'm trying to use an NSDate, and save in a text file, and retrieve it, but cannot find any guidance on the net.
Your assistance would be greatly appreciated.
Regards
Santa
On 16/08/2014, at 9:46 AM, Shane Stanley <email@hidden> wrote:
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
_______________________________________________
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