getTime refactoring

Some refactoring of getTime() functions.
Do you use those functions more then once? If not why not just prefix the namespace on usage?