Naming a folder with current date timestamp

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

Tip: Finder won’t accept colons in a name.

I knew it was something simple that I was completely missing. thanks!