How do I properly display the date and time in AngularJS?
The output below shows both the input and the output, with and without the AngularJS date filter:
you can get the 'date' filter like this:
var today = $filter('date')(new Date(),'yyyy-MM-dd HH:mm:ss Z');
This will give you today's date in format you want.