Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   [PHP] Datum + eine Woche? (https://www.delphipraxis.net/126256-%5Bphp%5D-datum-eine-woche.html)

Grolle 21. Dez 2008 12:46


[PHP] Datum + eine Woche?
 
Hallo,

gibts in PHP eine Funktion womit ich das aktuelle Datum + eine Woche ausgeben kann?
Code:
$date = date("Y-m-d");
Viele Grüße ...

Meflin 21. Dez 2008 12:58

Re: [PHP] Datum + eine Woche?
 
Wie wärs mit now() + 7 * 24 * 60 * 60? Das dann noch mit Date formatieren und Voila :)

DeddyH 21. Dez 2008 12:59

Re: [PHP] Datum + eine Woche?
 
http://www.mail-archive.com/php-db@l.../msg11049.html
Ist zwar für 6 Monate, aber das lässt sich ja schnell anpassen.

Grolle 21. Dez 2008 13:03

Re: [PHP] Datum + eine Woche?
 
Danke :-D


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:33 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz