Re: Days and hours
Re: Days and hours
- Subject: Re: Days and hours
- From: kai <email@hidden>
- Date: Thu, 20 Oct 2005 23:12:06 +0100
On 20 Oct 2005, at 21:48, Mark J. Reed wrote:
On 10/20/05, Nigel Garvey <email@hidden> wrote:
As from Tiger (AppleScript 1.10), dates _do_ have 'hours',
'minutes', and
'seconds' properties.
Cool!
But hm. Does that mean that the "minutes" property is also the
"60" property?
Not exactly, Mark. The AppleScript _constant_ "minutes" has a value
of 60. A date's "minutes" property is whatever it happens to be at a
given time. There's obviously a similar distinction for "hours":
-------------------
tell (current date) to {{hours, minutes}, its {hours, minutes}}
--> {{3600, 60}, {23, 11}} (* run here at 23:11 *)
-------------------
Applescript namespace stuff makes my head hurt. :)
So... what happened to your sense of fun and adventure? ;-)
---
kai
_______________________________________________
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