Return todays date

Use the following snippets to obtain the date. You can see here how to manipulate the date to the format you desire.

  1. $UtilMethods.now()  
  2.   
  3. getDate()  
  4.   
  5. $date.getDate()  
comments powered by Disqus