Moving object based on real world time in blender
Just in case someone is looking for something similar - After some digging I worked out what I need
import bpy
from datetime import datetime
then = datetime(2020, 1, 1, 0, 0, 0)        # Random date in the past
now  = datetime.now()                         # Now
duration = now - then                         # For build-in functions
duration_in_s = duration.total_seconds()
hours = divmod(duration_in_s, 3600)[0]
minutes = divmod(duration_in_s, 60)[0]   
days  = divmod(duration_in_s, 86400)[0]

cube = bpy.data.objects[&quot;Cube&quot;]
cube.location.x = minutes

Still not sure how to make it update automatically but this is good enough for my needs.