Number of days since registration
<p>I code a little Console program and now I store the date they joined in a database like.</p>

<pre><code>CreateDate
2011-04-15 17:52:57
</code></pre>

<p>Now I want to do a check like this: a function that gets how many days the guy have been registered. </p>

<pre><code>if(player.getDaysSinceRegistration) { 
</code></pre>

<p>Thanks for any help.</p>
