Problem naming playlists in iTunes

I want to create a playlist in iTunes with a unique name…

Why is this code not working… it creates the playlist but does not name it…

tell application “iTunes”

set thetime to current date
make new playlist with properties {name:thetime}

end tell

where as this works fine:

tell application “iTunes”

set thetime to “Thursday, January 12, 2006 3:29:08 PM”
make new playlist with properties {name:thetime}

end tell

Leahy:

You need to make the date information into a string. This works:

tell application "iTunes"
	
	set thetime to (current date) as Unicode text
	make new playlist with properties {name:thetime}
	
end tell

Good Luck