Non dovrebbe bastare
Data x = new Date(); ?

Boh - io non ho mai provato.