# Day night cycle with solar time through sunsky

**URL:** <https://forums.unrealengine.com/t/day-night-cycle-with-solar-time-through-sunsky/605318>\
**Category:** UI\
**Tags:** unreal-engine, Widget, UE4, Blueprint, question\
**Created:** [July 15, 2022, 5:56am UTC](https://forums.unrealengine.com/t/day-night-cycle-with-solar-time-through-sunsky/605318 "2022-07-15T05:56:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [July 15, 2022, 10:16am UTC](https://forums.unrealengine.com/t/day-night-cycle-with-solar-time-through-sunsky/605318/2 "2022-07-15T10:16:40Z")

</div>

Hi @kartik.marathe!

Luckily enough, Unreal has a great tutorial showing exactly how to do just that. Here is the link:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/f/93fff6db8ebbd0a802f0bfcee9784c82f332e7d8.jpeg "Sun Position Driven by UI | Tips & Tricks | Unreal Engine") ](https://www.youtube.com/watch?v=_Sdm_gsbaos)

I hope the above solution works for you!

---

_[View the full topic](https://forums.unrealengine.com/t/day-night-cycle-with-solar-time-through-sunsky/605318)._
