Hi, this is more a maths related question, rather than a programming one, but code is greatly appreciated.
I have a float value, of 86400, which I’ll call Time - the total amount of seconds in a day. I need to use System.DateTime.Now.Hour, Minute, Second and convert them into a float value that fits within Time.
I’ve read online that you can just do 246060, but that’s not giving me the correct results, so I’m posting it here.
Thanks in advance!