title: Json data generator date and time only
body: <p>I'm trying to generate some Json data using <a href="http://beta.json-generator.com/" rel="nofollow">http://beta.json-generator.com/</a>, but I can not figure out how to generate date and time only (instead of datetime)</p>
  
  <p>For example, the following code:</p>
  
  <pre><code>[
  {
  'repeat(5, 10)': {
    _id: '{{objectId()}}',
    date: '{{date()}}',
    date_only: '{{date()}}',  //how can I show here date only
    time_only: '{{date()}}',  //how can I show here time only
    user: {
      first: '{{firstName()}}',
      last: '{{surname()}}'
    },
    phone: '+1 {{phone()}}'
  }
  }
  ]
  </code></pre>
  
  <p>Any ideas on how to code the date_only and time_only lines to truncate the datetime?</p>
  
  <p>Also, can the {date} be formatted. For example instead of:</p>
  
  <pre><code>"Sat Mar 31 1990 21:01:10 GMT+0000 (UTC)"
  </code></pre>
  
  <p>... something like:</p>
  
  <pre><code>"2010-12-13 21:01:10 GMT"
  </code></pre>
  
  <p>Thanks</p>