Reputation: 499
Local system time and date may be wrong. Hence I want server time and date in my AngularJs project but I can't find a solution yet. How do I get the server date and time?
Upvotes: 0
Views: 3143
Reputation: 610
The way out would be to create a JSON web service which gives the date and time and call it from angularjs. The web service could be developed in any server side programming language - PHP, ASP.NET, etc..
Upvotes: 1