Getting the current UNIX timestamp with AppleScript
Written September 02, 2006 at 10:31 CEST. Tagged OS X and AppleScript.
Since I couldn't find the answer on Google when I needed it:
(do shell script "date +%s") as integer
Or, verbosely (and possibly not portable across date formats):
current date - time to GMT - date "1970-01-01"
