Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -MRegexp::Common=time -MDateTime::Format::ISO8601 -wE 
    +'
    my $str = "2018-03-01T110601Z";
    ...
        eval {...} called at -e line 3
    
    Regexp::Common: valid
    
  2. or download this
    $ perl -Mstrict -MRegexp::Common=time -MDateTime::Format::ISO8601 -wE 
    +'
    my $str = "2018-03-01T11:06:01Z";
    ...
    
    DateTime::Format: valid
    Regexp::Common: valid