Add function mstrPrintNowTime.