Date manipulation
Date manipulation
- Subject: Date manipulation
- From: Michelle Steiner <email@hidden>
- Date: Sat, 8 Jul 2006 07:54:20 -0700
This works:
set today to date "Tuesday, July 8, 2008 8:00:0 AM"
set time of today to (time of today) + anything
This doesn't:
set today to date "Tuesday, July 8, 2008 8:00:0 AM"
set time of today to (time of today) - something
if "something" causes "today" to be the previous day (or earlier).
However, it works if it causes it to be earlier in the same day.
--> "Can't make some data into the expected type."
-- Michelle
--
If Liberals hated America, they'd vote Republican.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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