One of our servers is driving me mad!
This agent code (stripped down to show the problem) and its output has me baffled.
Dim sess As New NotesSession
Dim dtToday As NotesDateTime
Dim vToday As Variant
Set dtToday = New NotesDateTime("Today")
Print "dtToday = " & dtToday.DateOnly
vToday = Today()
Print "vtoday = " & vToday
gives the following log output when run on the server:
30/11/2006 03:58:04 PM AMgr: Agent (‘Test Dates’ in ‘testdb.nsf’) printing: dtToday = 30/11/2006
30/11/2006 03:58:04 PM AMgr: Agent (‘Test Dates’ in ‘testdb.nsf’) printing: vtoday = 11/30/2006
I have checked all Win 2003 server locale settings, and idate in International in the Registry.
(Everything appears to be set to dd/mm/yyyy)
Domino serve 6.5.3