In my request form I have a field "mytime" with data type "time" and
control type "DateTimePicker".
In properties of this field, isDateTime is set to true.

I need to initialize this field with current time.

If I use the following code :

var thedate = new Date();
var thetime = thedate.getTime();

it does not work but if I use an alert on thetime variable, I get a
number that is good I suppose.

I've tried to use Packages.java.text.SimpleDateFormat but I get an
error "Packages is undefined".
Same thing if I use java.text.SimpleDateFormat: java is undefined.

Do you know a way to initialize a DateTimePicker in the request form
via an onchange event ?
Thank you for your help,


coves's Profile: http://forums.novell.com/member.php?userid=4568
View this thread: http://forums.novell.com/showthread.php?t=332127