>>>How so, amd why not suggest an alternative? It's just a cheap & cheerful way of generating a (fairly) unigue file name.
>>
>>
>>lcDateStr = ttoc(datetime(), 1)
>>
>
>Thanks Gregory. Then it needs converting to a format readable to a British eye/brain, with "_" separators, etc. It's not that important :-)
>
>Terry
Terry,
That's easy
?transform(ttoc(datetime(),1), '@R ####_##_##_##:##:##')
?transform(ttoc(datetime(),1), '@R ####-##-##_##:##:##')
Gregory