Get time

Is there a way to get the current time, hopefully in ms? I am want get the time before i start a process and after the process completes so i can determine how long it took to run.

Thanks

SolidworksApi macros