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

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Dec 4 08:56:46 CET 2008


On Thu, Dec 4, 2008 at 9:36 AM, Alexander Bauer <alex at familie-bauer.info> 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.


argonadmin at argon:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04"

argonadmin at argon:~$ uname -a
Linux argon 2.6.24-21-generic #1 SMP Mon Aug 25 16:57:51 UTC 2008
x86_64 GNU/Linux

argonadmin at argon:~$ ./timetest
4-12-08 09:55:13


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list