the length of second, minute or hour, what defines the time of exo planetary bodies we measure time based on earth and earth mass\gravity plays a role in the measurement ? so how and what would be time if not earth time on other exo planets since they will be having different mass/gravity and probably more variables affecting time measurement.

I can say Gliesa has a day of 30 hrs(assumed) , 

So will the length of second, minute and hour, likeewise day or month will fall under its own time system?
You have 2 separate concepts here. The length of a day and a year are unconnected with how you measure seconds, minutes and hours.


The length of a day is defined as how long it takes for the planet to rotate on its axis, and a year is how long it takes to orbit its primary.
Seconds, minutes and hours are a measurement chosen by us back in history, and chances are we will still use the same wherever we go in the universe. The way we measure it is designed to let us always measure seconds consistently. 


Even on Earth, we say that a day is 24 hours, but it isn't really, as the two sets of concepts don't match up. We haven't defined a second as a fraction of the time it takes the planet to rotate - it is defined based on physical constants. So if you were to say that Gliesa has a day that is 30 units long - it would be astonishing if those units were exactly hours!