Free and simple module to countdown/countup from the current date or calculate the difference between two events and display the result as "» years » months » days" and/or days and weeks.
It does not make use of 32/64-bit unix timestamps, so it will also work for dates outside the range 1970 (1901)-01-01 through 2038-01-19. The function respects leap years, but does not take into account the 10 days removed in the year 1582 from the calendar (October 5 through October 14, 1582) to fix calendar drift.

More detailed information about each parameter setting can be found in the popup help text of the module parameter settings pane of Joomla!s admin back-end.

Features

  • countdown/-up from current to a specified date or
  • calculates the difference between two specified dates
  • output via variables for » years (y) » months (m) » days (d) and/or
  • independent output for "total days" (D), weeks (W) and remaining days of the weeks (w)
  • output via variables for prceding and/or succeeding labels
  • different and individual formatting possibilities for header, middle (content) and footer area
  • no flash, no javascript
  • "modul class suffix" supported

Project Samples

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow DateDiff

DateDiff Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DateDiff!

Additional Project Details

Languages

English, German

Registered

2015-02-02