Re: Data arithmetic
Re: Data arithmetic
- Subject: Re: Data arithmetic
- From: Christian Vinaa <email@hidden>
- Date: Thu, 10 Mar 2005 08:08:30 +0100
At 01:52 +0000 10/03/2005, Michelle Steiner wrote:
set a to "March 9, 1961"
set b to "june 1, 1983"
set c to "May 31, 1983"
log (date b) + ((date b) - (date a))
log (date c) + ((date c) - (date a))
(*Tuesday, August 23, 2005 12:00:00 AM*)
(*Sunday, August 21, 2005 12:00:00 AM*)
Shouldn't the results be only one day apart, not two days?
remember; days are getting longer this time of year ;-)
seriously; how is your script entended to work ?
tried it out and got error code: not valid date
i ask cause I have been toying with getting an auto calculation of a
log that I have
just a simple text file where 'log-in' day-time and 'log-out'
day-time is written
it would be nifty to have a script auto-compute total amount of time
between in and out
--
Christian Vinaa
...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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