PHPackages                             jjpmann/ee-dt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jjpmann/ee-dt

ActiveEe3-addon[Utility &amp; Helpers](/categories/utility)

jjpmann/ee-dt
=============

The DT Plugin displays dates with formatting and allows you to add days, months, years to the current date or a static date you set.

v2.0.3(8y ago)015MITPHPPHP &gt;=5.3.10

Since Jul 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jjpmann/ee-dt)[ Packagist](https://packagist.org/packages/jjpmann/ee-dt)[ Docs](http://github.com/jjpmann/ee-dt)[ RSS](/packages/jjpmann-ee-dt/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

DT Plugin
=========

[](#dt-plugin)

*Date/Time plugin for ExpressionEngine*

The DT Plugin displays dates with formatting and allows you to add days, months, years to the current date or a static date you set.

Installation
------------

[](#installation)

**New:** composer installer

```
composer require jjpmann/ee-dt

```

Read more about this *here*

**Old:** manual

move files into 'dt' folder inside of system/user/addons

Usage
-----

[](#usage)

### `{exp:dt}`

[](#expdt)

Will return the date formatted this way: **MM/DD/YYYY**

### `{exp:dt:wrap}`

[](#expdtwrap)

Tag pair used to wrap around entries loop to adding custom dates in to parameters

#### Parameters

[](#parameters)

All of these are optional

##### set

[](#set)

Sets the static date that the other parameters will reference. If not set will default to the current date.

```
{exp:dt set="01/01/2010"}

```

##### format

[](#format)

Sets the format of the returned date using the following parameters: [http://expressionengine.com/user\_guide/templates/date\_variable\_formatting.html](http://expressionengine.com/user_guide/templates/date_variable_formatting.html)

```
{exp:dt set="11/03/90" ee_format="true" format="%l %M %j, %Y"}

```

Outputs: **Saturday Nov 3, 1990**

##### ee\_format

[](#ee_format)

if set to 'false'dt will parse the date using php formating:

```
{exp:dt set="11/03/90" format="%A %B %e, %Y"}

```

Outputs: **Saturday November 3, 1990**

##### language

[](#language)

Translates based on system languages

- fr\_FR : French
- es\_ES : Spanish
- nl\_NL : Dutch

    {exp:dt set="11/03/90" language="es\_ES" format="%A %b %e, %Y"}

Outputs: **sábado noviembre 3, 1990**

##### day

[](#day)

Adds or subtracts a value in days to current/set date.

##### month

[](#month)

Adds or subtracts a value in months to current/set date.

##### year

[](#year)

Adds or subtracts a value in years to current/set date.

```
{exp:dt day="3" month="1" year="-1" set="1/1/2010"}

```

Outputs: **02/04/09**

##### hour

[](#hour)

Adds or subtracts a value in hours to current/set date.

##### minute

[](#minute)

Adds or subtracts a value in minutes to current/set date.

##### second

[](#second)

Adds or subtracts a value in seconds to current/set date.

Examples
--------

[](#examples)

### Third Saturday of each month

[](#third-saturday-of-each-month)

```
Now: {current_time format="%m/%d/%y"}

{exp:dt set='third saturday of this month'} == {current_time format="%m/%d/%y"}

{if '{exp:dt set="first monday of this month"}' == '{current_time format="%m/%d/%y"}'}

YAY

{/if}

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~224 days

Total

3

Last Release

3188d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/322f65085989998fc2dfe4dbb0dbda6bf697a01609e6cdbed5e6fdd6b0406779?d=identicon)[jjpmann](/maintainers/jjpmann)

---

Top Contributors

[![Vim-Dev](https://avatars.githubusercontent.com/u/5013477?v=4)](https://github.com/Vim-Dev "Vim-Dev (1 commits)")

---

Tags

dteecmsdate helperee3

### Embed Badge

![Health badge](/badges/jjpmann-ee-dt/health.svg)

```
[![Health](https://phpackages.com/badges/jjpmann-ee-dt/health.svg)](https://phpackages.com/packages/jjpmann-ee-dt)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

78149.7k3](/packages/mediawiki-maps)[rainlab/blog-plugin

Blog plugin for October CMS

17158.6k](/packages/rainlab-blog-plugin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19246.3k2](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19222.5k2](/packages/altis-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
