728x90 AdSpace

Tuesday, 27 February 2018

[Tips] Get Server Time using C# DotNet

If you want to get server time to check something in your application. This tips is for C# developer. Condition: your applications much connect to internet Check below code! public static DateTime GetNISTDate() {           Random ran = new Random(DateTime.Now.Millisecond);           DateTime date = GetDummyDate();           string serverResponse = string.Empty;           // Represents the
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: [Tips] Get Server Time using C# DotNet Rating: 5 Reviewed By: Unknown