On 04/06/07, TOUZEAU DAVID <[EMAIL PROTECTED]> wrote:
Dear
Is there a function that help me to calculate seconds since 1970 year ?
exactly the same of this command :
/bin/date +%s -d 20070103
this will do what you want?:
function LocalToEpoch(
year: Word;
month: Word;
day: Word;
hour: Word;
minute: Word;
second: Word
):LongInt;
best regards
--
David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6
henry
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal