hi,
einen Wert von 49 (Sekunden) liefert, dann sollte mir
FROM_UNIXTIME(UNIX_TIMESTAMP(MAX(
onlineTimestamp
)) - UNIX_TIMESTAMP(MIN(onlineTimestamp
)), '%T')00:00:49 liefern.
ich erhalte aber 01:00:49 !
Warum?
weil der unix timestamp sich auf GMT bezieht.
00:00:49 GMT im lokalen datumsformat für MEZ ist nun mal 01:00:49 (wenn wir sommer-/winterzeit mal außen vor lassen).
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."