PDA

View Full Version : Today Date as default value in a DateField



anasande
30 Dec 2010, 4:05 AM
Hi!!! I was searching this issue in this forum and google but could not find any clue.

My problem is that I want to show today date as default value in a DateField, just that. :">

Thank you very much in advance.

sven
30 Dec 2010, 4:08 AM
myDateField.setValue(new Date());

anasande
30 Dec 2010, 4:15 AM
Ok, thank you very much Sven :)