Date problem

I have a factory that returns the current date, but if the app is running beyond that date, it doesn’t seem to update to the new date. this is on an android phone. if the app is still running, it doesn’t seem to get the new date?

Hard to test of course, but has anyone an idea why this wouldn’t return the correct date? I don’t worry about the hours.

.factory('CurrentTimestamp', function($ionicPlatform, $filter) {
var now = new Date();
var format = 'yyyy-MM-dd 00:00:00';
var timestamp = $filter('date')(now, format);
return timestamp;})