Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [java] liczenie czasu
-Gość-
post
Post #1





Goście







Ma może ktoś przykład skryptu który po załadowani czasu wyświetnał by w formacie godzina:minuta:sekunda czas od załadowania strony questionmark.gif znacyz sie taki licznuk czasu przebywania na stronie biggrin.gif
Go to the top of the page
+Quote Post
Cysiaczek
post
Post #2





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Pan google wie zapewne więcej, ale masz http://www.wi.ps.pl/html/skrypt/skrypt.htm


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
Athlan
post
Post #3





Grupa: Developerzy
Postów: 823
Pomógł: 12
Dołączył: 18.12.2005

Ostrzeżenie: (0%)
-----


użuj sobie php smile.gif

  1. <?php
  2. $czas = date("H:i:s", time());
  3. echo $czas;
  4. ?>


formę dowonie modelujesz wg manuala:
http://pl2.php.net/manual/pl/function.date.php

z tym że to czas serwera smile.gif

pozdrawiam smile.gif


--------------------
Portfolio: Vgroup.pl | athlan.pl | Test.php.pl - sprawdź się z wiedzy o PHP i ułóż własne pytania!
Pomogłem? Kliknij pod postem.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 22:06