Skip to content
Snippets Groups Projects
Commit 397b50ae authored by rswindell's avatar rswindell
Browse files

?time request returns current time in hex as well as ASCII.

parent 1c210fa6
Branches
Tags
No related merge requests found
...@@ -128,7 +128,8 @@ if(request.charAt(0)=='?') { // Handle "special" requests ...@@ -128,7 +128,8 @@ if(request.charAt(0)=='?') { // Handle "special" requests
break; break;
case "time": case "time":
writeln(system.timestr() + " " + system.zonestr()); t=time();
writeln(system.timestr(t) + " " + system.zonestr() + " 0x" + t.toString(16));
break; break;
case "logon.lst": case "logon.lst":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment