Peter A Goldsbury
Here is an example commonly used in day-to-day Japanese. My nephew is staying with me and we spent a few days in Tokyo. At every station we heard this refrain on the Shinkansen.
As the train left Tokyo Station, and all the other stations on the route:
Shinkansen go-riyou itadakimashite, arigatou gozaimasu.
Thank you for using the Shinkansen.
Shortly before the train stopped at each station:
Shinkansen go-riyou itadakimashite, arigatou gozaimashita.
Thank you for using (=having used) the Shinkansen.
Ah, a very nice example, sensei. arigatou gozaimashita.