# Time delayed evaluation of a function

I'd like to write a function that delays the evaluation of a function (say) $5$ seconds after I hit Shift+Return. Is this possible?

• The tag is wrong. I'd like to use the tag clock but it is new, and I'm not allowed to create new tags. – zab Apr 28 '14 at 15:38
• Related: (473), (1565) – Mr.Wizard Apr 28 '14 at 19:25

SetAttributes[delayedFunction, {HoldFirst}];

• More useful if defined as delayedFunction[function_, dt_] := (Pause[dt]; function) – m_goldberg Apr 28 '14 at 19:35
Dynamic[z]