WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Using < 1970 dates (3 posts)

  1. Elan42.com
    Member
    Posted 7 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
    Member
    Posted 7 years ago #

    unixtime started on jan1, 1970.

    read this:

    http://wordpress.org/support/topic/27367?replies=23

  3. Elan42.com
    Member
    Posted 7 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