---
title: "HOUR"
url: "https://help.formsfly.com/en/article/hour"
language: "en"
last_updated: "2024-11-01T15:42:25.950Z"
---

# HOUR

Returns the hours portion of the specified date value.

* * *

### Syntax

`HOUR(dateval)`

### Example

If mydatefield has value '2024-10-30 09:55:00', then:

```plaintext
HOUR({{mydatefield}})
```

returns: `09`

### Related

[YEAR](https://help.formsfly.com/en/article/year)  
[MONTH](https://help.formsfly.com/en/article/month)  
[DAY](https://help.formsfly.com/en/article/day)  
[MINUTE](https://help.formsfly.com/en/article/minute)  
[SECOND](https://help.formsfly.com/en/article/second)
