View Full Version : Getting the date an install is run under windows

05-30-2003, 01:18 PM
Does anyone have a straightforward way to get a string with the current date (as of the time an instal is run) ? This would be for a windows 2K install. What I am hoping is to wind up with the date in some


for some Z, mumble, and something.


05-30-2003, 02:14 PM
You can use the java.util.Calendar.getInstance().getTime() Java2 API call anywhere in custom bean code to get the current time . The APIs in java.util.Date allow you to format this as you wish.