Instead of calling
DateTime.Now.ToUniversalTime()
you can call
DateTime.UtcNow
Same thing but shorter 🙂 Documentation here.
Instead of calling
DateTime.Now.ToUniversalTime()
you can call
DateTime.UtcNow
Same thing but shorter 🙂 Documentation here.