How can i change my device/pc time using C#?
Or if not possible can i atleast get the SQL's server time and use it as a basis in a ticking time. Im doing a daily time record system. Help me thanks
How can i change my device/pc time using C#?
Or if not possible can i atleast get the SQL's server time and use it as a basis in a ticking time. Im doing a daily time record system. Help me thanks
Solution for you is use protocol for synchronize time between computers over packet switching... for that i will suggest you to use this Simple Network Time Protocol, with that you can retrive datetime from server and do your work...
another example with that http://dotnet-snippets.com/snippet/simple-network-time-ntp-protocol-client/571