DateTime.Now
would give you current time for your time zone. DateTime.UtcNow
gives you current date and time on this computer, expressed as the Coordinated Universal Time (UTC).
solved How do I get the correct time in C#
DateTime.Now
would give you current time for your time zone. DateTime.UtcNow
gives you current date and time on this computer, expressed as the Coordinated Universal Time (UTC).
solved How do I get the correct time in C#