That is exactly what I'm talking about. The problem has nothing to do with a database or formatting a date string. The problem is that the DateTime control in the Grid is not doing what I need it to. A DateTime control can be formatted to do what I need as follows:
my $datecontrol = $mainform->AddDateTime(-name=>"datecontrol",-lef +t=>10,-top=>500,-width=>150,-height=>30); $datecontrol->Format("yyyy-MM-dd"); $datecontrol->SetDate(19,7,2005); #day,month,year as specified in +the docs
So, if I can access a DateTime object and set the format/properties like that, there has to be a way to access the same type of object that is embedded in the Grid Cell object. Doesn't there?? Perhaps I should have titled this node "How to access an embedded object" or "Win32::DateTime in Win32::GUI::Grid". My apologies to all if my OP was unclear.

In reply to Re^4: Win32::GUI::Grid & Date Formats by ChrisR
in thread Win32::GUI::Grid & Date Formats by ChrisR

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.