# nats\_display\_stats\_calendar

*Article Topics:* [*Customization*](https://docs.toomuchmedia.com/getting-started/common-topics/customization)*,* [*Templates*](https://docs.toomuchmedia.com/getting-started/common-topics/templates)

Alias: display\_stats\_calendar

## Parameters

| Parameter                                                                                                                                 | Description                                                                                                | Possible Values                            | Default Value                                                         | Example                |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------ | --------------------------------------------------------------------- | ---------------------- |
| [tpl](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/tpl)                      | Template used to display output                                                                            | Any valid template                         | The template, *function\_display\_stats\_calendar*                    | tpl="mytemplate"       |
| date                                                                                                                                      | Displays calendar for the date this many seconds since the [epoch](http://en.wikipedia.org/wiki/Unix_time) | Any whole number greater than zero or zero | The current number of seconds since the epoch; i.e., the current date | date="1219723200"      |
| [assign\_prefix](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/assign_prefix) | Prefix output variables with this word. (Click link for details)                                           | Any valid Smarty variable name             | *None.* (No prefix is used)                                           | assign\_prefix="myvar" |
| [data\_only](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/data_only)         | Set variables but don't display the template                                                               | 1                                          | *None.* The template is displayed.                                    | data\_only=1           |

## Output

A calendar; each day on the calendar links to the statistics breakdown for that day.

{% hint style="warning" %}
**Please Note:** The epoch is midnight 1 January 1970 not counting leap seconds.
{% endhint %}

### See Also

* [nats\_display\_stats](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-functions/nats_display_stats) -- Display Affiliate Statistics
