Hello,
You can do that. Check following code:
Xrm.Page.getAttribute('your field schema name here').setValue(new Date());
Freelance Developer for Dynamics CRM 4.0/2011