[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

[PHP] dato bug ???



Hej
Jeg har haft noget ellers velfungerende kode, som pludseligt fejler.

Følgende kode skulle gerne udskrive 4 datoer, altid den førstkommende mandag efter den angivne dato:
--------------------------
echo date("d/m-Y\n",
strtotime("Next Monday", strtotime("15 october 2005")));
echo date("d/m-Y\n",
strtotime("Next Monday", strtotime("22 october 2005")));
echo date("d/m-Y\n",
strtotime("Next Monday", strtotime("29 october 2005")));
echo date("d/m-Y\n",
strtotime("Next Monday", strtotime("5 november 2005")));
-------------------------


Men der udskrives:

17/10-2005
24/10-2005
30/10-2005
07/11-2005

Midt mellem de rigtige datoer udskrives en søndag: 30/10-2005

Nogen der kan forklare / har hørt om det problem?

mvh Kristian ( debian sid )

 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-11-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *