# add\_hour

Source: https://zotonic.com/docs/2268/add_hour

URI: https://zotonic.com/id/2268

Language: en



Adds an hour to a date. The value must be of the form `{{Y,M,D},{H,I,S}}`.

For example:

```django
{{ value|add_hour }}
```

When the value is `{{2008,12,10},{15,30,0}}`, the output is `{{2008,12,10},{16,30,0}}`.

The filter has an optional argument which defines the number of hours to add:

```django
{{ value|add_hour:3 }}
```

When the value is `{{2008,12,10},{15,30,0}}`, the output is `{{2008,12,10},{18,30,0}}`.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2268?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2268?language=en>)
