Re: convert the System.currentTimeMillis
- From: "Vadym Stetsyak" <vadym_s@xxxxxxx>
- Date: Wed, 6 Sep 2006 10:22:49 +0300
Hello, Ahmed!
AA> can help me convert the System.currentTimeMillis to VB.Net code
AA> , i tried system.DateTime.Now.Ticks what is not even close.
Sorry, code sample is in C#. IMO it will be easy to convert to VB code
TimeSpan t = (DateTime.UtcNow - new DateTime(1970, 1, 1));
long timestamp = Convert.ToInt64(t.TotalMilliseconds);
return timestamp;
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
- Prev by Date: Re: C# Image
- Next by Date: Send Mail Using SMTP
- Previous by thread: Re: C# Image
- Next by thread: Send Mail Using SMTP
- Index(es):