Answered
I have a very useful little Java snippet that prints the time a document is printed in a field I have placed at the foot of the document.
The code is :
this.rawValue="Printed on "+util.printd("dd-mmm-yyyy, hh:M tt",new Date());
However that prints the time in the 12 hour clock format with minutes under 10 being 4 instead of 04 (as an example). What code do I use to print the time in the 24 hour format?
Many thanks
David
George Kaiser