getDate() slice() confusion
<p>Hello I'm trying to remove the first number of a date. Let's say today was 15 May, how would I</p>

<ol>
<li>remove the first integer and keep 5 only</li>
<li>be sure that that single digits (ex 5 June) stays the same? I tried the slice property but it doesn't seem to work.</li>
</ol>

<p>My fiddlesticks: <a href="https://jsfiddle.net/DimitriXd4/gp2eaaot" rel="nofollow">https://jsfiddle.net/DimitriXd4/gp2eaaot</a></p>

<pre><code>var now = new Date();
var getTheDate = now.getDate().slice(-1);
console.log(getTheDate );
</code></pre>

<p>In theory <code>slice(-1)</code> should cut the last number and return it even if it a single number/word, right?</p>