Help for this page

Select Code to Download


  1. or download this
     ... unless $yearfield =~ /^\d{4}$/;
    
  2. or download this
     ... unless $yearfield =~ /^(\d{2}){1,2}$/;
     if (length($yearfield) == 2) {
    ...
       $yearfield = $millen . $yearfield;
     }
     ...