Re: Filmier to ical
Re: Filmier to ical
- Subject: Re: Filmier to ical
- From: Adrian Nier <email@hidden>
- Date: Mon, 30 May 2011 23:15:10 +0200
- Resent-date: Tue, 31 May 2011 09:55:55 +0200
- Resent-from: Adrian Nier <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
> Does iCal need the date in text format or what?
As Michelle already said, the format depends on your settings. Instead of having to conform to any specific format, however, you could create a new date object and then change its properties. Like so:
-- Create a new date object and store it in the _date variable
set _date to (current date)
-- Set the year
set year of _date to 1999
-- Set the month
set month of _date to 3
-- Set the day
set day of _date to 16
-- Set the time in seconds from midnight
set time of _date to 0
-- Return the modified date
return _date
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden