AnsweredAssumed Answered

how to set date in alfresco workflow form

Question asked by rajupingili on Jan 3, 2013
Latest reply on Mar 15, 2016 by khoer52
i have a requirement in workflow like,i need to display workflow attached document properties in workflow form.in which date of creation of document is there if i am trying to set that property with the fallowing code it is giving date parser exception.


//here some code to get properties of document , there am getting document properties.like that am getting created date from document properties.
var receveddate =Thu Jan 03 2013 00:00:00 UTC -08:00 (this is date format am getting )
execution.setVariable("rewf_receveddate",receveddate);

i have tried many formats.here in which format i need to set the date.

can any one please help me

Outcomes