[PHP] pobierz, plaintext echo (strtotime("2009-10-26")-strtotime("2009-10-24")) / 3600 / 24 # zwraca 2.04166666667[PHP] pobierz, plaintext
[PHP] pobierz, plaintext echo ((strtotime("2008-03-01")-strtotime("2008-02-22")) / 3600 / 24).'<br>';echo (strtotime("2009-03-01")-strtotime("2009-02-22")) / 3600 / 24; [PHP] pobierz, plaintext
[PHP] pobierz, plaintext echo round((strtotime("2009-10-26")-strtotime("2009-10-24")) / 3600 / 24) # zwraca 2[PHP] pobierz, plaintext