• 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: Days and hours
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Days and hours


  • Subject: Re: Days and hours
  • From: Emile Schwarz <email@hidden>
  • Date: Thu, 20 Oct 2005 10:51:12 +0200

Hi,

just for the fun, I tried:

-- use your clock own format below
-- except if its settings are French / OS Language: Français
set myDate to date "jeudi 20 octobre 2005 5:10:15"


-- Change that date to March 2nd, 1954; 11:45:00 -- a. DD:MM:YYYY set day of myDate to 2 set month of myDate to March set year of myDate to 1954

-- b. HH:MM:SS
set hours of myDate to 11
set minutes of myDate to 45
set seconds of myDate to 0

-- give me the newly computed date
return myDate


and get a "Saturation de la pile" (sic) and "set hours of myDate to 11" (without quotes) highlighted...


go figure... it is not possible to do the obvious... where are we going to darling ? ;)


Emile


PS: in a script I wrote some weeks ago, I started either 70 years ago or last year and add 1 day per "repeat", skipping Sundays or skipping the whole week except Sunday or the seven days a week to generate a long (from around 150 to approx 800) lines without trouble (it tooks me many head shaking on the wall / minutes to wrote it)...



"Each script is a new challenge"


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Days and hours
      • From: "Mark J. Reed" <email@hidden>
    • Re: Days and hours
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: Physical size of the trash
  • Next by Date: Re: Days and hours
  • Previous by thread: Re: Days and hours
  • Next by thread: Re: Days and hours
  • Index(es):
    • Date
    • Thread