onaled777
asked on
Converting from long to Date in a jsp for fmt:formateDate
For the code snippet below the value note.referencedOn comes back as a long.
fmt:formatDate is expecting a Date so it throws an error.
How do i modify to get rid of that error.
fmt:formatDate is expecting a Date so it throws an error.
How do i modify to get rid of that error.
<td><fmt:formatDate value="${note.referencedOn}" pattern="MM-dd-yyyy"/></td>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.