NotesDateTime difference between R5 & ND6
Paste the following code into a button on a form.
Dim workspace As New NotesUIWorkspace
Dim uidoc As notesUiDocument
Set uidoc = workspace.currentdocument
Dim mytime As New NotesDateTime("01/01/1989")
Msgbox "localtime = " + mytime.localtime
In R5 the following displays: localtime = 01/01/1989.
In R5 LOCALTIME, GMTTIME,ZONETIME, AND DATEONLY all display 4 digit year.
In ND6 this displays: localtime = 01/01/89.
In ND6 LOCALTIME, GMTTIME,ZONETIME, AND DATEONLY all display 2 digit year.
Has anyone else noticed this?