@dateFormat

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

Default Date Format (dd-MM-yyyy)

    @dateFormat(date)
    Result: 21-10-2017

Custom Date Format

    @dateFormat({date, format: "dd-MM-yyyy HH:mm:ss:SSS"})
    Result: 21-10-2017 00:57:18:478