I should of course have seen this myself, it's still too early in the morning. BTW, the same error exist in the next line after this. Anyway, thanks for the code, it may come in handy!
>Sorry Tore
>It's because of the last comma. I Beautify (manualy) this code before I post it and you see the result :o)
>
oLocalTime.AddProperty("Minute" , nMinute)
>
>