How to Fetch Current Time from Internet to a Text box using C#??
I tried following code:
DateTime d = DateTime.UtcNow; DateTimeOffset dto2 = DateTimeOffset.UtcNow; |
But it return only Correct date.
DateTime d = DateTime.UtcNow; DateTimeOffset dto2 = DateTimeOffset.UtcNow; |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Manas MohapatraRank #182 · 13.2K reputationPosted May 11, 2017, 11:46 PM EDT