Skip to content

Tamper: String to Unix Timestamp

Plugin ID: eca_tamper:strtotime

Available since: 1.0.0

This will take a string containing an English date format and convert it into a Unix Timestamp.

Fields

Data to be tampered — config key: eca_data


This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Result token name — config key: eca_token_name

Provide a token name under which the tampered result will be made available for subsequent actions.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Custom date format — config key: date_format

The custom php date format string to parse the date with. This is optional and mainly useful when working with certain date formats. See the PHP manual for available options.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Fallback to strtotime() if the date could not be parsed with the provided date format. — config key: fallback

Type: checkbox · Required: no · Default: false