PHP Warning: date() expects at least 1 parameter, 0 given
<p>It may be a very basic question but I am unable to understand whats wrong with the following code </p>

<pre><code>$currentDateTime = new DateTime( date(), 'Europe/London' );
</code></pre>

<p>it throws following warning</p>

<blockquote>
  <p>PHP Warning:  date() expects at least 1 parameter, 0 given</p>
</blockquote>