---
title: "DAYYEAR"
url: "https://help.formsfly.com/en/article/dayyear"
language: "en"
last_updated: "2024-11-01T15:41:42.352Z"
---

# DAYYEAR

Returns the numbered day of the year for the specified date value.

* * *

### Syntax

`DAYYEAR(dateval)`

### Example

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

```plaintext
DAYYEAR({{mydatefield}})
```

returns: `304`

### Notes

Values returned are between 1 and 366.

### Related

[DAYWEEK](https://help.formsfly.com/en/article/dayweek)  
[WEEKYEAR](https://help.formsfly.com/en/article/weekyear)
