@dateFormat

@dateFormat use Java SimpleDateFormat API to convert date to string.

Default Date Format (dd-MM-yyyy)

    @dateFormat(date)
    Result: 17-11-2017

Custom Date Format

    @dateFormat({date, format: "dd-MM-yyyy HH:mm:ss:SSS"})
    Result: 17-11-2017 19:01:41:821