1
0
-1

Hi ... does anyone know of a way to get today's date/time in a Velocity page (like tile-todo.htm in portal)?

Thanks,

Jamie

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Found that $format is org.apache.click.util.Format, so $format.currentDate("d MMM yyyy h:mm a") works. 

      Now need to figure out how to get a difference!

      1. umakanta dalai

        Hi Jamie,

        Can you please post your logic here how to always display latest date and time in avoka screen?

        Looks the time picks only at page load time, not getting refreshed after that.

      CommentAdd your comment...