You can activate Sundial during your end step while the delayed triggered ability from Ilharg is on the stack. If you do, that ability will be removed from the stack as part of ending the turn, and it won’t trigger again, effectively letting you keep the creature you cheated in indefinitely.
Commander/EDH Decks:
BRG The Blood of Jund - Kresh the Bloodbraided BRG
WR The Blades of Goldnight - Gisela, Blade of Goldnight WR