This seems like an easy problem, but I can’t get it to work. Can anyone help me create a new folder and name it with the current time? thanks!
set the_date to (current date)
set TimeStampFolderName to (date string of the_date) & "-" & (time string of the_date)
tell application "Finder"
make new folder at desktop with properties {name:TimeStampFolderName}
end tell