Using setValue to populate a date field.

Not applicable

I'm trying to use the 'variable.setValue' to populate a date field. The formatting of the date value is 28-Sep-2011 and manually putting the value into the date field works perfectly fine. In addition I know my script is working because I pointed it to the text field and it populated just fine.

Anyone else have experience with setValue and date fields?

Thanks!

5 REPLIES 5

Not applicable

I changed my method.
datefield=gs.now(); The gs.now() pulls back the current date and successfully populates the field.

Just wanted to share if anyone else can find use in this.