Hi, I'm looking at the browser plugin and system expressions but I can't find a way to get the time clockwork of the PC where the game is running.
Does anyone know how to get the clock time?
Develop games in your browser. Powerful, performant & highly capable.
Construct 3 has unixtime, but I think you have to use the ExecJS in the Browser Plugin in Construct 2 and use Date():
Browser.ExecJS("new Date().toLocaleTimeString();")
That will you give something like: 12:40:50 (hour:min:sec)
Is there no official way to do it? Is it necessary to run java code? Ok, thanks for the information, I will try it soon.