A reference guide, along with several examples, is installed with AppleScript Studio. You can find it quickly with a browser in this local URL:file:///Developer/ADC%20Reference%20Library/documentation/AppleScript/Tools-date.html#//apple_ref/doc/uid/TP30000419-TP30000463 (previous OS versions, here)