I am trying to do a date format on LocalDateTime in velocity template. But it doesn't seems to support LocalDateTime? converting LocalDateTime into timestamp is a good option for me.
Asked
Active
Viewed 1,125 times
3
-
Can you share some code (and some inputs and outputs) from what you've tried so we can get an idea of exactly what you're trying to achieve? – Sam Apr 23 '16 at 17:01
-
Create an extension class of DateTool and add your logic there. I've done that to extend DisplayTool. – Andreas Sep 14 '16 at 13:12
-
The answer is in this link [How to select the format of $date in vm file?](https://stackoverflow.com/questions/15092372/how-to-select-the-format-of-date-in-vm-file) – amalms Mar 12 '19 at 05:36