To start, note that the notion of time in a simulation is not directly related to the actual time that it takes to run a simulation (as measured by a wall-clock or the computer's own clock), but simply a variable maintained by the simulation program. This variable is more precisely referred to as simulation time to clearly distinguish it from real (wall-clock) time. 

    NetSim is a discrete event simulator (DES), and in any DES, the progression of the model over simulation time is decomposed into individual events where change can take place. The flow is time is only between events and is not continuous. Therefore, simulation time is not allowed to progress during an event, but only between events. 

    In fact, the simulation time is always equal to the time at which the current event occurs. Therefore, simulation time can be viewed as a variable that "jumps" to track the time specified for each new event. 

The current time can be got using -pstruEventDetails->dEventTime