how to get now datetime in angular code example
Example: how to display current date and time in angular
//reload the page for evry one minute...put the below code in ngOnInit function
setTimeout(
function(){
location.reload();
}, 60000);