Re: [fpc-pascal] How to get UTC time

2007-02-13 Thread Pete Cervasio
On Tuesday 13 February 2007 14:25, Marco van de Voort wrote: > > for me. It needs both the SysUtils and Libc units, which I'm already > > using for other declarations anyway. > > Libc is a legacy unit, better use the proper (portable) units, and you'll > spare yourself a libc dependancy, AND make

Re: [fpc-pascal] How to get UTC time

2007-02-13 Thread Marco van de Voort
> for me. It needs both the SysUtils and Libc units, which I'm already using > for other declarations anyway. Libc is a legacy unit, better use the proper (portable) units, and you'll spare yourself a libc dependancy, AND make it portable across unices: {$mode Delphi} uses unix,sysutils,baseuni

Re: [fpc-pascal] How to get UTC time

2007-02-13 Thread Pete Cervasio
On Tuesday 13 February 2007 03:37, Michel Meunier wrote: > I work on a program wich need the UTC time, and this program will run > with Windows and Linux. > So how is it possible to calculate the UTC time under these two OS. Hello, Michel. I do not program under Windows, so I cannot answer that

[fpc-pascal] How to get UTC time

2007-02-13 Thread Michel Meunier
Hello, I work on a program wich need the UTC time, and this program will run with Windows and Linux. So how is it possible to calculate the UTC time under these two OS. For example, the Now function with Windows, give me local time. Best regards -- Michel Meunier Web: www.etoiles-a-bleau.fr