Re: [fpc-pascal] Wrong Time from Now() or Time() => [SOLVED]

2008-12-09 Thread Alexander Bauer
order! br, Alex vince coen schrieb: Hi; Have you checked what time zone you have set up? V. On Thursday 04 December 2008, you wrote: Valdas Jankūnas schrieb: Alexander Bauer rašė: I have a strange problem with fpc 2.2.2 on Ubuntu Linux. The function Now(); did not return the

Re: [fpc-pascal] Wrong Time from Now() or Time()

2008-12-03 Thread Alexander Bauer
Valdas Jankūnas schrieb: Alexander Bauer rašė: I have a strange problem with fpc 2.2.2 on Ubuntu Linux. The function Now(); did not return the right time ?!? It returns the time UTC - 6 hours. Any suggestions ? br, Alex try GetTime or GetLocalTime from SysUtils unit. It's alway

[fpc-pascal] Wrong Time from Now() or Time()

2008-12-03 Thread Alexander Bauer
I have a strange problem with fpc 2.2.2 on Ubuntu Linux. The function Now(); did not return the right time ?!? It returns the time UTC - 6 hours. Any suggestions ? br, Alex ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free

[fpc-pascal] Problem with threads and cwstrings

2008-06-17 Thread Alexander Bauer
Hi, i have a problem when i use cwstrings together with threads on linux. I made a simple program which create threads in an endless loop. Every thread only does a sleep(1) and then finish. Without 'cwstrings' everything works fine. But when i include 'cwstrings' the program eats more and more