As Anonymous Monk said, simply type the following into the Command Prompt:

ppm install DateTime

It worked fine for me. Here is the output I got:

Downloading ActiveState Package Repository packlist...done Updating ActiveState Package Repository database...done Downloading http://ppm.tcool.org/ packlist...done Syncing site PPM database with .packlists...done Syncing perl PPM database with .packlists...done Downloading DateTime-0.70...done Downloading DateTime-Locale-0.45...done Downloading DateTime-TimeZone-1.35...done Downloading Math-Round-0.06...done Downloading Class-Singleton-1.4...done Downloading Class-Load-0.08...done Unpacking DateTime-0.70...done Unpacking DateTime-Locale-0.45...done Unpacking DateTime-TimeZone-1.35...done Unpacking Math-Round-0.06...done Unpacking Class-Singleton-1.4...done Unpacking Class-Load-0.08...done Generating HTML for DateTime-0.70...done Generating HTML for DateTime-Locale-0.45...done Generating HTML for DateTime-TimeZone-1.35...done Generating HTML for Math-Round-0.06...done Generating HTML for Class-Singleton-1.4...done Generating HTML for Class-Load-0.08...done Updating files in site area...done 1389 files installed

If this doesn't work, I'm sorry to say I don't know what to tell you. You could use CPAN.pm or CPANPLUS, but I really don't like using them.

--perl.j

In reply to Re: How to install DateTime module in Windows by perl.j
in thread How to install DateTime module in Windows by sureshrps

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.