How to Format a Date

This article provides example how you can format a date.

Initial data:

{

  "birthYear": "20 years ago"

}

Create a new transformer: Connections -> transformers -> + for a new one 

Transformer:

Settings: Data, transform data using mappers and conditions 

 

Transformer: value mapper

Accessor: key accessor

Keys: birthYear

 

Mappers: Format: Date

Output format*: Y ,  Y-m-d (the format may vary, check the link below for PHP date formats)