private DateField currentDate= new DateField("Date :", DateField.DATE); private Date now = new Date(); currentDate.setDate(now); myform.append(currentDate);
private DateField currentDate= new DateField("Date :", DateField.DATE, TimeZone.getTimeZone(name of your timezone));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)