Help for this page

Select Code to Download


  1. or download this
    my $date = Time::Piece->strptime("01/02/2003",
                                     "%e/%B/%Y");
    $t->created($date);
    
  2. or download this
    $t->created->dmy('/');
    
  3. or download this
    sub parse_date {
      return Time::Piece->strptime(shift, "%e/%B/%Y");
    ...
    sub stringify_date {
      return shift->dmy('/');
    }