Hello Della,
I'd recommend just using the new Date() function within a field element.
Under the field's Properties > Text Field tab:
Set the Text Field Expression class to java.util.Date
Set the Pattern to: yyyy-MM-dd hh:mm:ss
Set the Text Field Expression to newDate()
Thanks!
Albert