Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> date_sunset() , date_sunrise()
Indianin
post
Post #1





Grupa: Zarejestrowani
Postów: 247
Pomógł: 0
Dołączył: 19.04.2003
Skąd: Hamburg / Darlowo

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


Z manuala
  1. <?php
  2.  
  3. /* calculate the sunset time for Lisbon, Portugal
  4. Latitude: 38.4 North
  5. Longitude: 9 West
  6. Zenith ~= 90
  7. offset: +1 GMT
  8. */
  9.  
  10. echo date(&#092;"D M d Y\"). ', sunset time : ' .date_sunset(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
  11.  
  12. ?>
jak obliczyc parametr "Zenith ~= xx" dla danego miejsca?
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 24.08.2025 - 16:07