Using setValue to populate a date field.

Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2011 08:10 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2011 08:19 AM
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.