I am using standalone Spring framework and I want to implement Spring 3.2 @DateTimeFormat(pattern = \"dd/mm/yyyy\"), but not getting the expected output.
My code sni
Try changing the format to :
@DateTimeFormat(pattern = "dd/MM/yyyy")
MM is for months , mm for minutes .
MM
mm
Just look at this documentation:
The most common ISO DateTime Format yyyy-MM-dd'T'hh:mm:ss.SSSZ e.g.