WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Countdown Timer] How Far in the Future (3 posts)

  1. DevTopics
    Member
    Posted 5 years ago #

    This is an excellent plugin! However, I am trying to use it to countdown to dates far in the future, and it doesn't seem to work to the year 2040 and beyond. What is the latest date supported, and is there a way to extend this further into the future?

    Thank you for creating this plugin.

  2. fergbrain
    Member
    Posted 5 years ago #

    Due to limitations in PHP's strtodate function, the maximum date possible is Tue, 19 Jan 2038 03:14:07 UTC, which corresponds to the maximum value for a 32-bit signed integer.

    There currently is no feasible way to extend this date, however this issue has been known for a while and I've been working on a solution.

  3. fergbrain
    Member
    Posted 5 years ago #

    Actually, I take that back. It appears that only certain versions of PHP are limited to the 32-bit signed int. If you have PHP 5.1.0 or greater, the problem is solved.

    Since PHP has resolved this problem, I will no loner be working on a solution.

Topic Closed

This topic has been closed to new replies.

About this Topic