Re: Using unixtime
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Date: Wed, 4 Feb 2004 13:06:23 -0500
In article <eBJMXtv6DHA.1716@TK2MSFTNGP10.phx.gbl>, nvivo@mandic.com.br
says...
> Is there any method in .NET that returns the number of seconds since
> januaty 1st 1970 (unix time) or i should create my own?
Nothing built in. You should be able to create a DateTime for Jan 1,
1970 and subtract it from DateTime.Now to get a TimeSpan.
--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Relevant Pages
- Re: SPFileCollection.Add ignores the date arguments
... Any feedback from Microsoft on this issue Neil? ... > SPFileCollection.Add that takes SPUser and DateTime objects: ... > creationDate, updateDate); ... (microsoft.public.sharepoint.portalserver.development) - Re: High Tech Home Video
... would also be a cold day in hell before I put anything M$ based in charge of ... I believe there are some homes being built or already built that have a ... Microsoft: At Home web site and was just wondering what kind of software ... was software that worked with barcodes to keep the kitchen inventory and ... (microsoft.public.dotnet.general) - Re: Why does every one hate Microsoft
... Then you fail to understand how exploit code works, and why vulnerabilites ... having this built in is ... marketplace when Microsoft fills the gap themselves. ... They get to bundle these as security features ... (alt.computer.security) - RE: Is possible to compilie in eVc++ 4.00 a project for WniCe3.0-SH3 WinCe2.11-MIPS?
... built with newer tools is the subsystem version in the PE image header. ... Also note that Microsoft doesn't support running applications ... Is possible to compilie in eVc++ 4.00 a project for ... (microsoft.public.windowsce.embedded.vc) - Re: It Just Underscores the Point!
... bundled apps, still less most of the OS. ... Microsoft intended to build, at the very least, all of Vista's ... built on top of the .NET foundation. ... It's basically *true* of Leopard. ... (comp.sys.mac.advocacy) |
|