function __getProcessExitTime(process)
{
    const exitTimeAddress = process.KernelObject.ExitTime.targetLocation.address;
    const exitTimeObject = host.createTypedObject(exitTimeAddress, host.getModuleType("nt", "_LARGE_INTEGER")).QuadPart;
    const exitTimeNumber = parseInt(exitTimeObject, 16);

    if(exitTimeNumber === 0)
    {
        return "";
    }

    const unixExitTime = __convertWindowsTimestampToUnixTime(exitTimeNumber);
    const exitTimeDate = new Date(unixExitTime * 1000);

    return __formatTimestamp(exitTimeDate);
}
/**
    Return string representing the process exit time.

    Parameters:
    process - WinDbg process object.
*/
Return string representing the process exit time.
Parameters:
process - WinDbg process object.
Return string representing the process exit time . Parameters : process - WinDbg process object .
function __getProcessExitTime(process)
{
    const exitTimeAddress = process.KernelObject.ExitTime.targetLocation.address;
    const exitTimeObject = host.createTypedObject(exitTimeAddress, host.getModuleType("nt", "_LARGE_INTEGER")).QuadPart;
    const exitTimeNumber = parseInt(exitTimeObject, 16);
    if(exitTimeNumber === 0)
    {
        return "";
    }
    const unixExitTime = __convertWindowsTimestampToUnixTime(exitTimeNumber);
    const exitTimeDate = new Date(unixExitTime * 1000);
    return __formatTimestamp(exitTimeDate);
}
function __getProcessExitTime ( process ) { const exitTimeAddress = process . KernelObject . ExitTime . targetLocation . address ; const exitTimeObject = host . createTypedObject ( exitTimeAddress , host . getModuleType ( "nt" , "_LARGE_INTEGER" ) ) . QuadPart ; const exitTimeNumber = parseInt ( exitTimeObject , 16 ) ; if ( exitTimeNumber === 0 ) { return "" ; } const unixExitTime = __convertWindowsTimestampToUnixTime ( exitTimeNumber ) ; const exitTimeDate = new Date ( unixExitTime * 1000 ) ; return __formatTimestamp ( exitTimeDate ) ; }
Return string representing the process exit time.
Return string representing the process exit time .