Help for this page

Select Code to Download


  1. or download this
    if ( $value and $value !~ /^(?:(\d+)d)?(?:\s*(\d+)h)?$/i )
       {
    ...
       $day = $1 || 0;
       $hour = $2 || 0;
       }