stupid coertion bug on dates
stupid coertion bug on dates
- Subject: stupid coertion bug on dates
- From: kai <email@hidden>
- Date: Sun, 03 Aug 2003 17:55:45 +0100
on Sun, 3 Aug 2003 16:50:34 +0200, Reinforced Darkness <email@hidden>
wrote:
>
try this :
>
//
>
(current date) - "Sunday 3 August 2003 16:16:21"
>
//
>
it works fine
Not here. I need something like:
--------------------------------
(current date) - (date "Sunday 3 August 2003 16:16:21")
--------------------------------
>
try now this :
>
//
>
set x to "Sunday 3 August 2003 16:16:21"
>
(current date) - x
>
//
>
--> error : can't make of "Sunday 3 August 2003 16:16:21" a date
This works for me:
--------------------------------
set x to "Sunday, August 3, 2003 4:16:21 pm"
(current date) - (get date x)
--------------------------------
---
kai
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.