5832 Hours in a Day Clock

I need to build a clock.
This clock has 5832 hours in a day.
The time in which this clock started ticking was on 12/15/1970
What I mean is 5832 hours in one day is to get from 12/15/1970 to 12/16/1970 it takes 5832 hours (243 earth days for example)
The question is what would be the time now?
I think to solve this I would find the number of days between the two dates.
Which are 18390 days.
Calculate a ratio between days. 18390 * 24 / 5832.
which is 75.67 days.
Then find 75.67 days from the original date:
2/28/1971
That would be my guess.I have this so far…I think I have to come up with some logic for the above that does that deviating from standard western dates and times.
I think that likely Date().getHours returns the hours component, which will be 023 but not sure about it.<script> function display_ct7() { //var x = new Date() var x = new Date(new Date().setHours(new Date().getHours() + 5832)) var ampm = x.getHours( ) >= 5832 ? '' : ''; hours = x.getHours( ) % 5832; hours = hours ? hours : 5832; hours=hours.toString().length==1? 0+hours.toString() : hours; var minutes=x.getMinutes().toString() minutes=minutes.length==1 ? 0+minutes : minutes; var seconds=x.getSeconds().toString() seconds=seconds.length==1 ? 0+seconds : seconds; var dt=x.getDate().toString(); dt=dt.length==1 ? 0+dt : dt; var x1= + "/" + dt + "/" + x.getFullYear(); x1 = hours + ":" + minutes + ":" + seconds + ampm; document.getElementById('ct7').innerHTML = x1; display_c7(); function display_c7(){ var refresh=1000; // Refresh rate in milli seconds mytime=setTimeout('display_ct7()',refresh) } display_c7() </script> <span id='ct7'"></span>

I think you got it. Here is what I would do:
// Helper function, extends Date object. Add days to date object Date.prototype.addDays = function(days) { this.setDate(this.getDate() + parseInt(days)); return this; }; // Calculate number of (earth) hours since 12/15/1970 const originalDate = "15 Dec, 1970 0:00"; const originalDateObj = new Date(originalDate); const todaysDateObj = new Date(); const milliseconds = Math.abs(todaysDateObj  originalDateObj); const hours = (milliseconds / 1000 / 60 / 60).toFixed(2); console.log(`${hours} earth hours since 15 Dec, 1970`) // How many days is this in nonearth time?' // Rounding down const days = Math.floor((hours / 5832).toFixed(2)); console.log(`${days} nonearth days have passed since 15 Dec, 1970`); // Add days to original date const newDate = originalDateObj.addDays(days); const newDateFormatted = newDate.toLocaleDateString("enUS") // Show new date console.log(`Today is ${newDateFormatted} in nonearth time`);

I think you got it. Here is what I would do:
// Helper function, extends Date object. Add days to date object Date.prototype.addDays = function(days) { this.setDate(this.getDate() + parseInt(days)); return this; }; // Calculate number of (earth) hours since 12/15/1970 const originalDate = "15 Dec, 1970 0:00"; const originalDateObj = new Date(originalDate); const todaysDateObj = new Date(); const milliseconds = Math.abs(todaysDateObj  originalDateObj); const hours = (milliseconds / 1000 / 60 / 60).toFixed(2); console.log(`${hours} earth hours since 15 Dec, 1970`) // How many days is this in nonearth time?' // Rounding down const days = Math.floor((hours / 5832).toFixed(2)); console.log(`${days} nonearth days have passed since 15 Dec, 1970`); // Add days to original date const newDate = originalDateObj.addDays(days); const newDateFormatted = newDate.toLocaleDateString("enUS") // Show new date console.log(`Today is ${newDateFormatted} in nonearth time`);