automatic date in $form->textFieldRow


im making a email sending module

i want to automatically send a datetime at my database and i dont know how

this are the lines that i want to work with

<?php echo $form->textFieldRow($model,‘timecreated’,array(‘class’=>‘span5’)); ?>

<?php echo $form->textFieldRow($model,‘timesent’,array(‘class’=>‘span5’)); ?>

or kindly link me a tutorial about this module tnx

here help yourself