Created
January 1, 2020 06:17
-
-
Save QuadStorm/26dea19ac8e40f14fe7902a35eda5b0e to your computer and use it in GitHub Desktop.
2020-01-01 00:00:00
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ISOTimeStampFormat(%dateTime) | |
{ | |
%pDT = strReplace(%dateTime, "/", " "); | |
return "20" @ getWord(%pDT, 2) @ "-" @ getWord(%pDT, 0) @ "-" @ getWord(%pDT, 1) SPC getWord(%pDT, 3); | |
} | |
function timeBottomPrint() | |
{ | |
if (isEventPending($timeBottomPrint)) | |
{ | |
cancel($timeBottomPrint); | |
} | |
clientCmdBottomPrint("\c6" @ ISOTimeStampFormat(getDateTime()), 0, 1); | |
$timeBottomPrint = schedule(10, 0, timeBottomPrint); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment