Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Jak pokazac datę z przed dwóch tygodni?
wrcnitro
post
Post #1





Grupa: Zarejestrowani
Postów: 53
Pomógł: 0
Dołączył: 4.03.2006

Ostrzeżenie: (10%)
X----


(IMG:http://forum.php.pl/style_emoticons/default/tongue.gif) Jak pokazac datę z przed dwóch tygodni (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif) (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
tiraeth
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 1 789
Pomógł: 41
Dołączył: 30.10.2003
Skąd: Wrocław

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


  1. <?php
  2. $time = strtotime("-2 weeks");
  3. echo date("d.m.Y", $time);
  4. ?>
Go to the top of the page
+Quote Post

Posty w temacie


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: 6.10.2025 - 20:34