Archive for August 22nd, 2006
Battery Driven Car : Tesla
Tuesday, August 22nd, 2006
Yes, I realize this is an fairly stale article, but I had originally planned on posting a while ago but had forgotten about it. I don’t think $80k puts it within my price range, nor the fact it runs on highly volatile lithium ion batteries, but hey, its still pretty darn spectacular.
Yes, I realize this is an fairly stale article, but I had originally planned on posting a while ago but had forgotten about it. I don’t think $80k puts it within my price range, nor the fact it runs on highly volatile lithium ion batteries, but hey, its still pretty darn spectacular.
Converting .NET DateTime to UNIX Timestamp
Tuesday, August 22nd, 2006
Note to self:
How to convert .NET DateTime to UNIX timestamp (as in PHP, etc.)
int timestamp = (DateTime.UtcNow – new DateTime(1970,1,1,0,0,0)).TotalSeconds
and convert a Unix timestamp to an ASP.NET DateTime value:
DateTime date = (new DateTime(1970,1,1,0,0,0)).AddSeconds(datestamp)
Note to self:
How to convert .NET DateTime to UNIX timestamp (as in PHP, etc.)
int timestamp = (DateTime.UtcNow – new DateTime(1970,1,1,0,0,0)).TotalSeconds
and convert a Unix timestamp to an ASP.NET DateTime value:
DateTime date = (new DateTime(1970,1,1,0,0,0)).AddSeconds(datestamp)
"Star Wars"
.NET
Articles
Avatars
Body for Life
Daybreak
Development
Ektron
Family
Flash
Food
Gaming
Google
Hardware
Humor
Internet
Kids
Media
Microsoft
Movies
Music
News
Off-Topic
Off-Topic
Other Resources
Politics
Programming
Ranting
Religion
Remenisce
SciTech
Security
SEO
Silverlight
Snipits
Software
SQL Server
Support
Technology
Utah
Web
Web 2.0
Windows Live
Wordpress
YouTube
