Shane Stanley wrote on Wed, 23 Sep 2009 08:45:40 +1000:
>FWIW, the unit-conversion hack still works in Snow Leopard:
>
>property zdate : date "Monday, August 10, 1992 11:00:00 AM"
>set file_name to ((current date) - zdate as feet as text) & ".html"
Slightly less of a hack and faster:
property zdate : date "Monday 10 August 1992 11:00:00"
tell (current date) - zdate
set file_name to ((it div 100000000) as text) & (it mod 100000000 div
1) & ".html"
end tell
Obviously this assumes that (current date) - date "Monday 10 August
1992 11:00:00" will never again be less than 100000000, but that seems a
fairly safe bet.
NG