dev
newsgroups
Home
All Groups
Group
Topic
Archive
Search
About
DateTime
microsoft.public.dotnet.framework
4 Apr 2006 8:59 PM
Arne Garvander
How can I get the difference in minutes between DateTime.Now and
DateTime.UtcNow?
--
Arne Garvander
Certified Geek
4 Apr 2006 9:10 PM
Markus Stoeger
Arne Garvander wrote:
> How can I get the difference in minutes between DateTime.Now and
> DateTime.UtcNow?
... something like:
DateTime now = DateTime.Now;
TimeSpan dt = now - now.ToUniversalTime();
Console.Out.WriteLine(dt.TotalMinutes);
hth?
Max
Other interesting topics
Trouble since 2005: InvalidOperationException and Kickout
dll versioning problems
How to write code for this XML configuration section?
Mysterious delay on first use of HttpWebRequest.GetRequestStream
Sending an email using System.Net.Mail or System.Web.Mail
Newsgroups sites:
Code
-
Database news
-
Security
-
Windows
-
Exchange
-
Outlook
-
Server