AnsweredAssumed Answered

Alfresco DateFormat

Question asked by german on Apr 21, 2008
Latest reply on Apr 22, 2008 by german
Hi all.
Using Java and mySQL I have a problem in setting the Date property of a document before to load it on Alfresco.
To set the other properties I use JTextField and I have no problems, because they are text fields.
What can I use in Java to set a property type in the date format accepted by Alfresco?

NamedValue[] propertiesC = new NamedValue[]{Utils.createNamedValue(Constants.PROP_NAME, TxtName.getText() + ".pdf"), Utils.createNamedValue("{extension.myModel}MyDate", ????????????? )};

Thanks in advance.

Bye.

Germano

Outcomes