• Write Page

    Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 55

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 68

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 69

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 70

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 71

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 72

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 73

Viewing 9 replies - 1 through 9 (of 9 total)
  • I get the same too with my wondows install.
    Anyone?

    Do you have any posts with *bad* dates?

    Go into your database through phpMyAdmin (I assume you have it since you’re using xampp), access the wp_posts table, click the Browse tab, and click on the post_date column to order your posts by that. Any “dates prior to midnight (00:00:00), January 1, 1970” should float to the top.

    I used the same MySQL database as on Linux platform ( blog.taragana.com ). I never had a problem there.

    I get the same thing but I only have 1 post and the date is 2005-05-05

    Whats up? I am also using the xampp package.

    I get this too.

    Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\mt\lionel\wp-includes\functions.php on line 26

    Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\mt\lionel\wp-includes\functions.php on line 28

    and so on. What is going on? I *don’t* have dates prior to 1970. Please help.

    The problem is the PHP date() function. It uses ints for the calculation which causes overflows. The problem is described here, along with updated date/time functions. WordPress should support these functions for Windows if possible.

    https://phplens.com/phpeverywhere/adodb_date_library

    Actually these are two separate issues. The problem with most folks posting here is that the date for one or more posts has become corrupted – often the date field is zeroed out so the error occurs.

    But, yes, it is true we Windoze users cannot create posts with a date prior to 1/1/70.

    How are these updated datetime functions supposed to be applied… ?????

    Please tell me what the solution was to this 2 problems with an installation with Windows I can’t figure it out, sorry?
    I get this messages https://www.tinemuller.dk/div/datofejl.gif and it’s used in another project (not WordPress) but the problems are the same so must the solution be, I think.:-)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Warning: date() [function.date]: Windows does not support dates prior to…’ is closed to new replies.