Hi allI have a problem in coding in java.
I want to convert a date/time value in a document to string such that I can type cast it as date/time again in java on a third system.
Thanks for your help in advance.
Hi allI have a problem in coding in java.
I want to convert a date/time value in a document to string such that I can type cast it as date/time again in java on a third system.
Thanks for your help in advance.
Subject: How convert Date time value to string in java?
If the value is a DateTime, use toJavaDate() to convert to a Java-native date object, then use DateFormat.format() to create a UTC string, which can easily be reconverted at the other end.
Subject: RE: How convert Date time value to string in java?
Thanks a lot, I will try that.
One more favor.
I don’t know where to look for API documentation of java on Domino.
Thanks for your help in advance.
Subject: How convert Date time value to string in java?
You can use toJavaDate method of DateTime class. Refer:http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/b929d2a815e357b1852571140059ef2c?OpenDocument
Regards
Litty Joseph