Adding a gettime function

This function call or get a current time based on the timezone selected.