added timestamp function for formating & timer for intervaled query request to server