Thanks Vlad,
I knew it would be somthing simple that I overlooked. I have used datetime()in the past primarily to return the current system date and time when needed - thanks.
>Use datetime() function. When you provide parameters, it builds value from parts exactly as you need.
>
Al Williams
Anola MB, CANADA