---
title: Built-in pragmas for dates and page numbers
description: Slideform has some helpful automatic pragma functions to fill in date ranges and page numbers
---

[Skip to content](https://helpcenter.slideform.co/using-built-in-pragmas#main-content)

English

Show submenu for translations

![Slideform\_logo\_master-1.png\]](https://helpcenter.slideform.co/hs-fs/hubfs/Slideform_logo_master-1.png?width=50&height=50&name=Slideform_logo_master-1.png)

- [Home](https://slideform.co/index.html)
- [Integrations](https://slideform.co/integrations.html)
- [Pricing](https://slideform.co/solutions.html)
- [Blog](https://slideform.co/blog/)
- [Log In](https://app.slideform.co/)

Open main navigation

Close main navigation

- [Home](https://slideform.co/index.html)
- [Integrations](https://slideform.co/integrations.html)
- [Pricing](https://slideform.co/solutions.html)
- [Blog](https://slideform.co/blog/)
- [Log In](https://app.slideform.co/)
- English
  
  Show submenu for translations
- [Go to slideform.co](http://slideform.co/)

[Go to slideform.co](http://slideform.co/?hsLang=en)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Slideform Help Center](https://helpcenter.slideform.co/?hsLang=en)
2. [Data Sources](https://helpcenter.slideform.co/data-sources?hsLang=en)
3. [Advanced Data Source Configuration](https://helpcenter.slideform.co/data-sources?hsLang=en#advanced-data-source-configuration)

# Built-in pragmas for dates and page numbers

## Slideform has some helpful automatic pragma functions to fill in date ranges and page numbers

All built-in functions begin with "fn:" inside the curly braces. These pragmas may be used as text placeholders on your slides or in the output filename.

**Current Period**

- fn:date  - Today's date. It can be formatted in a variety of ways in the [formatting options](https://helpcenter.slideform.co/formatting-options-for-text-pragmas?hsLang=en).
- fn:dayofweek - The name (Monday, etc.) corresponding to today's date.
- fn:month - The name (January, etc) of the current month.
- fn:week - The date range of the current week as "Start Date - End Date". Set the week start day to either Monday or Sunday in the [project settings](https://helpcenter.slideform.co/project-settings?hsLang=en). The format of the start and end dates may be configured in the formatting options.
- fn:year - Provides the current year (2024, etc).

**Relative dates:** Add a + or - inside the pragma to calculate a date relative to one of the functions above. For example, {{fn:date-5}} provides the date five days ago and {{fn:date+10}} provides the date ten days from now.

**Prior period**

- fn:priormonth - The name (January, etc.) of the prior month.
- fn:priorweek - Provides the date range of the prior week as "Start Date - End Date". Set the week start day to either Monday or Sunday in the project settings. The format of the start and end dates may be configured in the formatting options.
- fn:prioryear - Provides the prior year.

**Start of period**

- fn:startmonth - The date of the start of the current month.
- fn:startweek - The date of the start of the current week.
- fn:startyear - The date of the start of the current year.

**Page or slide numbers**

- fn:page - Automatically fills in the slide number in the output slide deck.

- [Getting started](https://helpcenter.slideform.co/getting-started?hsLang=en#main-content)

    - [Pull data from a Dashboard](https://helpcenter.slideform.co/getting-started?hsLang=en#pull-data-from-a-dashboard)
    - [Pull data from a Spreadsheet](https://helpcenter.slideform.co/getting-started?hsLang=en#pull-data-from-a-spreadsheet)
    - [Pull data from a CRM](https://helpcenter.slideform.co/getting-started?hsLang=en#pull-data-from-a-crm)
    - [Pull data from a Database](https://helpcenter.slideform.co/getting-started?hsLang=en#pull-data-from-a-database)
- [Data Sources](https://helpcenter.slideform.co/data-sources?hsLang=en#main-content)

    - [Data Source Setup](https://helpcenter.slideform.co/data-sources?hsLang=en#data-source-setup)
    - [Advanced Data Source Configuration](https://helpcenter.slideform.co/data-sources?hsLang=en#advanced-data-source-configuration)
- [Templates](https://helpcenter.slideform.co/templates?hsLang=en#main-content)

    - [Create a template](https://helpcenter.slideform.co/templates?hsLang=en#create-a-template)
    - [Manage templates](https://helpcenter.slideform.co/templates?hsLang=en#manage-templates)
- [Projects](https://helpcenter.slideform.co/projects?hsLang=en#main-content)

    - [Output Settings](https://helpcenter.slideform.co/projects?hsLang=en#output-settings)
    - [Bulk Mode](https://helpcenter.slideform.co/projects?hsLang=en#bulk-mode)
- [Account](https://helpcenter.slideform.co/account?hsLang=en#main-content)

    - [Personal account settings](https://helpcenter.slideform.co/account?hsLang=en#personal-account-settings)
    - [Admin settings](https://helpcenter.slideform.co/account?hsLang=en#admin-settings)
- [AI Analyst](https://helpcenter.slideform.co/ai-analyst?hsLang=en)

- [Home](https://slideform.co/index.html)
- [Blog](https://slideform.co/blog/)
- [Help Center](https://helpcenter.slideform.co/)
- [Security](https://trust.slideform.co/)
- [Terms of Service](https://slideform.co/terms.html)
- [Privacy](https://slideform.co/privacy.html)

[![slideform logo](https://helpcenter.slideform.co/hs-fs/hubfs/Slideform_logo_text_black.png?width=223&height=50&name=Slideform_logo_text_black.png "slideform logo")](https://slideform.co?hsLang=en)

slideform.co Help Center

Copyright © 2025, Slideform Inc.