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?
This isn't only for gettime.h. I think that using porting namespace just to get time is strange.