This is a very simple command to issue from Script Editor or AS Studio to return the date and time as numerical values “05/23/03_12:01:56”
Much easier than mucking about with all sorts of date calculations.
OS version: OS X
do shell script "date +%m/%d/%y_%H:%M:%S"