AppleScriptObjC has lots of useful methods for dealing with dates, but the ability to freely convert to and from AppleScript dates only arrived with macOS 10.11. If you are writing scripts that need to be able to run on 10.10 or 10.9, you can use the handlers in this script to do the conversions:…