Is ただいま the standard greeting regardless of how long its been?

For clarification. I know before leaving the house one would announce いってきます. But what if someone moved out, lives in their own place, but is visiting on holiday?

Presumably this person has been gone a very long time, would they still say ただいま? Or is there a specific greeting when entering the house after having been away for such a long time?

by MrSyaoranLi