"Error converting value to date", ValueFormat Exception thrown when trying to fetch date property from crx
Hi All,
I am trying to fetch date property from crx as below :
Calendar cal = Node.getProperty("date").getValue().getDate();
"date" is of type "String" and has a value currently of "2014-02-01".
As per one of the article, http://aem.matelli.org/fetching-properties-from-dialogs/ this is one of the way to get the date value
1] Can you please guide me as to where I am missing things and what needs to be corrected.
Any thoughts/pointers on this will be helpful.