c# - Get Server DateTime In Silverlight application -


i have silverlight application. when using datetime.now gives me client datetime. in way client can change time on whatever wants. want sure datetime comes server. want give me server datetime. ideas how can accomplish ?

you can make call web service or api server datetime. on server if use datetime.now give datetime of server time zone. can use datetime.utcnow universal time.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -