Asking for time: Excuse me, have you got the time please? or do you have the time

Hello!
Is it possible to use the following expressions if one wants to ask for time?
“Excuse me, have you got the time please?”
“Excuse me, do you have the time please?”
Are they frequently used?
Thanks in advance :smiley:

Both are perfectly correct ways of asking your question.