NotesDateTime & International settings problem

Quite a strange problem here.Use Lotusscript to check if documents in mail databases are older than x days then if yes do some action on these documents.

To perform date calculation I use DateTimeValue property of the NotesItem Object when reading dates from notes documents, and use the TimeDifference method of the NotesDateTime object to compare document dates.

Everything works except when the document form is “Reply”.

When the document is a Reply, it seems that date is computed like it is DMY and not MDY, so 7/6/2010 is considered as “June 7th” and not “July 6th” as it should.

The only thing i see is that “reply” documents have a field $NameLanguageTags=“en”.

Is it related?

Why does lotusscript consider all “memo” documents as MDY and “reply” documents as “DMY”?

I do not want to write code to fix this, i’d rather like to set the whole thing in such a way that also dates in “reply” forms are consistently processed by Lotusscript.

Does anyone has similar problems?

Subject: would need to see code

But first, read this: Working with Date/Time Values in Lotus Notes