Answered
I am using this at document level to autofill current date on form
// Set field value to current system date
getField("todaysDate").value = util.printd("dd mmmm yyyy", new Date());
The question is no matter what I try I cant get it to put the day of the week in.
I would like it to display (dddd-dd-mmmm-yyyy)
Wednesday 14th April 2011
Thanks
util.printd("dddd dd mmmm yyyy", new Date());
Generated this:
Wednesday 06 April 2011