Your browser does not support iframes.
The "Get date and time" button will run a script in the inline frame.
Since the sandbox attribute is set to an empty string (""), the content of the inline frame is not allowed to run scripts.
Add "allow-scripts" to the sandbox attribute, to allow the JavaScript to run.
Note: The sandbox attribute is not supported in Internet Explorer 9 and earlier versions, or in Opera.