Escape time() according to security policy.
Fix spelling of ENT_QUOTES.