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
Post a Comment