• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Filmier to ical
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Filmier to ical (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Variable and function name space
  • Next by Date: Re: Variable and function name space
  • Previous by thread: Re: Filmier to ical
  • Next by thread: Re: Filmier to ical
  • Index(es):
    • Date
    • Thread