Frank Schönmann: Aktuelles Datum -3 Tage

Beitrag lesen

hi!

Die PERL Funktion time() hat mit Sommerzeit absolut nichts zu tun.
Nein. Aber die Tatsache, dass nicht alle Tage im Jahr 24 Stunden haben.

time gibt die Anzahl der Sekunden seit einem bestimmten Datum zurück, zum
Beispiel seit dem 1. Januar 1970, 0:00:00 UTC. Die Anzahl der Sekunden
springt aber nicht wild hin und her, nur weil gerade irgendwo auf Sommerzeit
oder Winterzeit umgestellt wurde.

time    Returns the number of non-leap seconds since whatever time the
             system considers to be the epoch, suitable for feeding to
             "gmtime" and "localtime". On most systems the epoch is 00:00:00
             UTC, January 1, 1970; a prominent exception being Mac OS Clas-
             sic which uses 00:00:00, January 1, 1904 in the current local
             time zone for its epoch.

bye, Frank!

--
Never argue with an idiot. He will lower you to his level and then
beat you with experience.