in reply to time in seconds
not sure if I'm getting what you mean ... but what about simply my $seconds = time - 946684800; time gives the seconds since 00:00:00 UTC, January 1, 1970 and subtract from this the seconds till 00:00::00 2000 UTC.
-- Hofmator
|
|---|