I have tried to convert my time and date from 06/15/2017 02:45 PM
to Monday, June 6, 2017 02:45 PM
Is there a way to go about this?
This is what i tried:
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<body>
<div ng-app="">
<p>Date = {{ "06/15/2017T02:45Z" | date : "EEEE, MMMM d, y h:mm a" }}</p>
</div>
<p>The date can be a date object, milliseconds, or, like in this example, a datetime string.</p>
</body>
</html>
it works only when i try:
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<body>
<div ng-app="">
<p>Date = {{ "06/15/2017T02:45Z" | date : "EEEE, MMMM d, y h:mm a" }}</p>
</div>
<p>The date can be a date object, milliseconds, or, like in this example, a datetime string.</p>
</body>
</html>