Changing the Date format from one class to another
<p>I am using this class right now.</p>

<p><a href="http://www.cse.yorku.ca/common/type/api/type/lib/CreditCard.html" rel="nofollow">http://www.cse.yorku.ca/common/type/api/type/lib/CreditCard.html</a></p>

<p>I have a credit card, I used the method of <code>getExpiryDate()</code> for my credit card. 
And it gives me the date in a form of: <code>Mon April 06 09:23:10 EDT</code>
I'm looking to have the date in this form:</p>

<p><code>06/04/2015</code> and the time is not needed. </p>

<pre><code>    PrintStream out = System.out;
    Scanner in = new Scanner(System.in);

    GlobalCredit credit1 = new GlobalCredit().getRandom();

    out.print("Enter report range in years ... ");
    int range = in.nextInt();
    out.println("Cards expiring before " + range + " year(s) from now: ");



    for (CreditCard cc : credit1)
    {

        out.println(cc.getNumber() + "\t");
        out.print(cc.getExpiryDate());

    }
</code></pre>

<p>thats part of my code, (didnt copy beginning). I got to do something in the for statement. I got to relate cc.getExpiryDate() to Date Class somehow</p>
