I'm pretty sure you're not using the exact syntax as the @DATE and @TIME macros contains invalid characters.
code:
$log=join(split(@date,'/'),'-')+'_'+join(split(@time,':'),'-')

would be better. Please post code in between code tags.

And take a look at the UDF Forum!

Finally, ex-pat from Ratingen says 'Hi!' [Smile]

[ 09. October 2003, 17:24: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.