Hmm the only way I found to add DT doesn't work for functions (the update function), is there another way I haven't found?
EDIT: I came up with my solution. But it doesn't work that well if someone is getting below 40 FPS, above is accurate enough. Anything above 60 FPS is accurate (if I get 200 FPS the update loop will still run at 60 FPS).