I found a script that does the following, confirming that there is a method to translate a straight date into a date format (at least that's how I read it).
set theDate to "1/1/1 2:2:2" -- save a call to "current date" set theDate to date theDate So if your variable $newPlayedDate could be set to a date version of itself, it might work. How to make that call, however, is a mystery to me. -- gsalton ------------------------------------------------------------------------ gsalton's Profile: http://forums.slimdevices.com/member.php?userid=7598 View this thread: http://forums.slimdevices.com/showthread.php?t=30314 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
