![]() ![]() ![]() |
|
contentsofsignaturemaysettleduringshipping
freitasm: Oh, that... Yep, happy to do that.
contentsofsignaturemaysettleduringshipping
mjb: Oh, ok, cool :)
I'd be interested to know how you do it if you do, I've not done any serious date/time work in windows.
Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync
contentsofsignaturemaysettleduringshipping
Zippity: Jesus - all I said was the clock was out by one hour, only to be told that I had to make a simple change - which I did.
Now we are having a full blown debate on the issue
mjb: Instead of storing the offset, store the *timezone*. Then it's a simple case of using the OS's TZ table to calculate the time of a given forum date (in GMT) in the user's timezone.
mjb: Like I said, I'm a *nix coder. it's like 4 lines in PHP :)
mjb: I've just done some research on this for ASP.NET, and my head is about to explode, I cannot believe that there's nothing available in the core libraries.
nate: I'm about to implement this in a project for a client, from my understanding when you create a datetime you set the timezone - once .net knows about what zone the time is in, it's not hard to calculate it in another timezone.
contentsofsignaturemaysettleduringshipping
|
![]() ![]() ![]() |