Dublin, Edinburgh, Lisbon, London getcurrentdatetime in angularjs 1

Dublin, Edinburgh, Lisbon, London getcurrentdatetime in angularjs

$filter('date')(date, format, timezone)

Here is what the above code is Doing:
1. We are using the $filter service to get the date filter.
2. We are passing the date filter the date object that we want to format.
3. We are passing the date filter the format that we want to use.
4. We are passing the date filter the timezone that we want to use.

Similar Posts