• freespeeches

    (@freespeeches)


    I operate a site that includes documents from as far back as the 1700’s, and I’d like to be able to post them under the correct date. For example, the Declaration of Independence would be in a 1776 post.
    However, when I set the date to this year, it shows up as December 31st, 1969… aparently this is as far back as WordPress can handle.
    Can anyone figure out how to mod it to handle dates as far back as 0001? and preferably format it as 384, for example, instead of 0384… and if you’re very ambitious… also include a B.C. option.
    ??
    -Eric Botticelli

Viewing 2 replies - 1 through 2 (of 2 total)
  • These are actually OS limitations. From the PHP date manual:

    Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer). On Windows this range is limited from 01-01-1970 to 19-01-2038.

    joh

    (@joh)

    You could hack around that by putting the date (which is obviously not the date of the posting anyway) into an custom field instead and use something like Custom Meta Display to display that date (which is just a string then) in an appropriate place or even in place of the actual date. Surely simpler than fixing such an fundamental limitation of timestamps…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dates prior to 1969’ is closed to new replies.