title: Create Array of Dates in Numba?
body: <p>I would like to create an array of dates in a Numba function, running in nopython mode.</p>
  
  <p>I can't see a date type, so I am trying NPDatetime.</p>
  
  <p>My attempted code is:</p>
  
  <pre><code>import numba as nb
  import numpy as np
  
  
  @nb.jit(nopython=True)
  def xxx():
      return np.empty(10, dtype=nb.types.NPDatetime('D'))
  
  
  print(xxx())
  </code></pre>
  
  <p>However, the code returns this error:</p>
  
  <pre><code>Unknown attribute 'NPDatetime' of type Module(&lt;module 'numba.types' from '/home/xxx/anaconda3/lib/python3.6/site-packages/numba/types/__init__.py'&gt;)
  </code></pre>
  
  <p>My numba version is 0.39.0</p>