[resolved] Using < 1970 dates (3 posts)

  1. ELAN42.com
    Posted 9 years ago #

    Hi... I created a blog in wich I want describe events that are recorded in the past, using their real date for the posts themselves.

    However, the visualized date is always 1970 if the date is previous to that year. In the database, the date is stored correctly.

    How can I display the dates correctly?

    I think that the problem is the "date" php function itself, can you give me some example codes?

  2. whooami
    Posted 9 years ago #

    unixtime started on jan1, 1970.

    read this:


  3. ELAN42.com
    Posted 9 years ago #

    Thank you all.

    I resolved the problem following MaryE instructions.

    I think that that customization should be inside the future versions of WordPress.
    There is no reason to put a limit on the years if the database contains the right date.

Topic Closed

This topic has been closed to new replies.

About this Topic