you could try using this:
DateTime dt = session.createDateTime("Today");
String sCreatedDate = dt.getTimeOnly();
which will return the time as a string; if you have to you could then split this string into the Hour and AM/PM.
The DateTime class in Domino also includes a toString and toJavaDate method you could use if it's appropriate for your solution.
Last Wiki Answer Submitted: April 27, 2005 1:35 am by Kjetil0 pts.