[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Using Times inside of Pnet
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]Using Times inside of Pnet |
Date: |
Mon, 30 Dec 2002 19:20:17 +1000 |
User-agent: |
KMail/1.4.3 |
On Monday 30 December 2002 06:50 pm, Aditya P. Bansod wrote:
> From pnetlib I'm sending in DateTime.Ticks, I'm using plain Int64's
> throughout the code. Once the ticks hit engine, they are then given to
> support, which uses ILCLIToUnixTime to (as I supposed) convert them to
> epoch based time, then I try and utime the file. Am I using ILCLIToUnixTime
> incorrectly? Would it have something to do w/ cygwin?
That looks correct. One thing to check: are you doing all calculations in
UTC? If you mix in a local time value (e.g. DateTime.Now), then things might
be a little off. If you're still having problems, then throw together a test
case that shows the problem and log a bug for it.
Cheers,
Rhys.