Instead of using getTimeStr and getDateStr format your output using the sprintf function. Then you can arrange the parts to your specification.
Instead of using getTimeStr and getDateStr format your output using the sprintf function. Then you can arrange the parts to your specification.