timestamp_add_hours

Adds a specified number of hours to a timestamp.

Example

1
{{ '2020-01-15 15:00:00' | timestamp_add_hours: 3 }} => 2020-01-15 18:00:00

Input

Type Parameter Description Required
string timestamp The timestamp to add hours to. Comes before the | sign. Required
double hours The number of hours to add  

Output

Type Description
string The new date