Hi everyone as the title states I am trying to make the sun rotate based on the time of day (hour minute second) so if someone could help me it would be greatly appreciated thanks in advance
Are you using a skysphere or something else?
DateTime and Timespan variable types let you get do calculation on time and there nodes realted to that:
The “Now” node return current system time (remember that users will be able to cheat that by setting there system clock). Use either Tick (check every every frame) or looping timer (check in desired intervals) to check time and set the skysphere or whatever sun you use when ever you like depending ot day time.
Thigns gets more complicated when you want accurate sun transition as unreal does not provide that, you will need to google caluclation argorithm.