I am getting the date string from server in the following format:
$scope.dateform = {
"dob": "22-06-1980"
}
But i want to convert into GMT form using angularjs inside controller.
Sat Jun 22 1980 00:12:00 GMT+0530
Is there any way to convert?