[Mono-dev] DateTime.Now gives a wrong time

2011-10-12 Thread k0l0b0k . void
Hello. I'm using Mono 2.6.7 (distro) on Debian squeezy, fully up to date, in my little enterprise environment. Some days ago, I've noticed a strangest behavior - all my services, based on mono shows a wrong time on calling DateTime.Now (with a difference of 1 hour ago). Any other services (php

Re: [Mono-dev] DateTime.Now gives a wrong time

2011-10-12 Thread Federico Di Gregorio
On 12/10/11 13:42, k0l0b0k.v...@gmail.com wrote: Hello. I'm using Mono 2.6.7 (distro) on Debian squeezy, fully up to date, in my little enterprise environment. Some days ago, I've noticed a strangest behavior - all my services, based on mono shows a wrong time on calling DateTime.Now (with a

Re: [Mono-dev] DateTime.Now gives a wrong time

2011-10-12 Thread Robert Jordan
On 12.10.2011 13:42, k0l0b0k.v...@gmail.com wrote: user@server:~# date Wed Oct 12 14:09:10 FET 2011 FET? This is an interesting time zone: http://en.wikipedia.org/wiki/Further-eastern_European_Time It seems that Mono is thinking that you're now on EET (Eastern Europe Time, UTC+2), your former

Re: [Mono-dev] DateTime.Now gives a wrong time

2011-10-12 Thread k0l0b0k . void
On my Debian box (using debian packaged Mono) everything is fine. fog@ania:~$ csharp Mono C# Shell, type help; for help Enter statements below. csharp Console.WriteLine({0}, DateTime.Now); 12/10/2011 14:18:58 csharp fog@ania:~$ date Wed Oct 12 14:19:04 CEST 2011 Can you show us

Re: [Mono-dev] DateTime.Now gives a wrong time

2011-10-12 Thread Robert Jordan
On 12.10.2011 22:05, k0l0b0k.v...@gmail.com wrote: Hello guys, thanks for your replies. I think, I've understand the situation. Some weeks ago, Ukraine and Belarus has timezone changes by law, and now we are FET timezone (GMT+3, without DST). As Robert pointed, I've look into TimeZone.*