On Thu, Dec 4, 2008 at 9:36 AM, Alexander Bauer <[EMAIL PROTECTED]> wrote: > It's always the same time. UTC - 6 hours. > But it's not a problem of fpc or the functions, it must be a problem of the > Linux Ditribution. > > On Ubuntu 8.04 Desktop the time is correct. > I use a system based on Ubuntu Server 8.04 and get a wrong time.
We have an Ubuntu Server 8.04. I did a quick test, and the result of Now() was correct. [EMAIL PROTECTED]:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04" [EMAIL PROTECTED]:~$ uname -a Linux argon 2.6.24-21-generic #1 SMP Mon Aug 25 16:57:51 UTC 2008 x86_64 GNU/Linux [EMAIL PROTECTED]:~$ ./timetest 4-12-08 09:55:13 Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal