Thanks for all the replies.
I have another query, which I can't seem to work out what is going on. With the following code, the log shows
31 Dec 1969 16:00:00 I don't understand where the 16 hours comes from?
Code:
For Each myKey In Map1.Keys
lSet = 0
Map1.Put(myKey,lSet)
Log (DateTime.Date(Map1.Get(myKey)) & " " & DateTime.time(Map1.Get(myKey)))
Next
Any thoughts?
Dave