# How can i get day in week

**URL:** <https://forums.unrealengine.com/t/how-can-i-get-day-in-week/428644>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [July 3, 2018, 9:06pm UTC](https://forums.unrealengine.com/t/how-can-i-get-day-in-week/428644 "2018-07-03T21:06:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![U.Dev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/u.dev/32/474384_2.png) [@U.Dev](https://forums.unrealengine.com/u/U.Dev)\
**Post date:** [July 3, 2018, 9:06pm UTC](https://forums.unrealengine.com/t/how-can-i-get-day-in-week/428644/1 "2018-07-03T21:06:20Z")

</div>

How can i get day in week for example : mon,thu,wed … etc, is there any way how to get that ?

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [July 3, 2018, 9:22pm UTC](https://forums.unrealengine.com/t/how-can-i-get-day-in-week/428644/2 "2018-07-03T21:22:01Z")

</div>

yes its possible and there are many threads out there on how to do it. the basic idea though is that you get the day of the year then mod (%) 7 and that will give you a number between 1 and 7 which corresponds to the day of the week. from there you just need to know which day of the week the first day of the year was.

Edit: added script example.

 ![246112-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/5/97580ef42696bfec7c6a9f320ca6e006e6018c5d.png)

---

<div class="post-metadata">

**Author:** ![U.Dev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/u.dev/32/474384_2.png) [@U.Dev](https://forums.unrealengine.com/u/U.Dev)\
**Post date:** [July 3, 2018, 9:24pm UTC](https://forums.unrealengine.com/t/how-can-i-get-day-in-week/428644/3 "2018-07-03T21:24:54Z")

</div>

Thank you very much, you finish my job ! Respect 🙂

---

<div class="post-metadata">

**Author:** ![Player\_003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Player\_003](https://forums.unrealengine.com/u/Player_003)\
**Post date:** [May 24, 2025, 7:18pm UTC](https://forums.unrealengine.com/t/how-can-i-get-day-in-week/428644/4 "2025-05-24T19:18:06Z")

</div>

Doesnt work i copied exactly but its says that its thu instead of sat
