I am accessing database using headless client. But while accessing the Date field from the table i am getting the result as in the folowing style
1999-03-31 00:00:00 ... How can I convert the data into dd-mm-yyyy format.... I am using this in JSP:
- Code: Select all
<td><input type="text" name="dateofbirth" value="<%=servoy_hc.getDataProviderValue(null,"dateofbirth")%>"></td>