Re: Days and hours
Re: Days and hours
- Subject: Re: Days and hours
- From: "Nigel Garvey" <email@hidden>
- Date: Thu, 20 Oct 2005 14:03:00 +0100
Emile Schwarz wrote on Thu, 20 Oct 2005 10:51:16 +0200:
>Ho do you make the following working ?
>
> > tell (current date) to set {day, year, its month, day, time, myDate} to
> > {1, 1968, May, 5, 20 * hours + 47 * minutes, it}
The variable 'mydate' ends up with the value of the date created.
tell (current date) to set {day, year, its month, day, time, myDate} to
{1, 1968, May, 5, 20 * hours + 47 * minutes, it}
display dialog (myDate as string)
'Current date' returns a date record, which is then told to reset its
various properties and finally to set a variable to itself. Kinky, but legal.
NG
_______________________________________________
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