---
title: "Feature: #63561 - Add TypoScript stdWrap strtotime"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-63561"
source: "Changelog/7.3/Feature-63561-AddTypoScriptStdWrapStrtotime.rst"
typo3-version: "7.3"
typo3-major: 7
type: "feature"
issue: 63561
forge: "https://forge.typo3.org/issues/63561"
tags: ["TypoScript", "Frontend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #63561 - Add TypoScript stdWrap strtotime {#feature-63561}

See [forge#63561](https://forge.typo3.org/issues/63561)

## Description {#description}

A new TypoScript property `strtotime` is now available within `stdWrap` which allows for conversion of formatted
dates to timestamp, e.g. to perform date calculations.

Possible values are `1` or any time string valid as first argument of the PHP `strtotime()` function.

Basic usage to convert date string to timestamp:

```typoscript
date_as_timestamp = TEXT
date_as_timestamp {
	value = 2015-04-15
	strtotime = 1
}
```

Convert incoming date string to timestamp, perform date calculation and output as date string again:

```typoscript
next_weekday = TEXT
next_weekday {
	data = GP:selected_date
	strtotime = + 2 weekdays
	strftime = %Y-%m-%d
}
```

## Impact {#impact}

The new property is available everywhere in TypoScript where `stdWrap` is applied.
