Could some one please let me know whether there is any way where in I can get the response from the Domino server as How the date format is stored.
For example if the domino server stores the date as 02/08/2011 in mm/dd/yyyy format, the Domino server should return the date format as mm/dd/yyyy.
similarly if the domino server stores the date as 08/02/2011 in dd/mm/yyyy format, the Domino server should return the date format as dd/mm/yyyy.
The “International class” represents the international settings in the operating environment, for example, the Regional Settings in the Windows Control Panel. When settings change in the operating environment, Notes recognizes the new settings immediately. For remote (IIOP) operations (that’t what you are doing), these settings represent the session’s server.
The “International Class” has the properties you are looking for:
that is true if the order of the date
format is day-month-year.
if the order of the date format is
month-day-year.
order of the date format is
year-month-day.
But if you trying to get values out of a a Notes document, you could/should use the DateTimeValue property of the corresponding NotesItem, which returns a NotesDateTime object. And ths object has a toJavaDate method – which is probably what you want.