$day = (localtime)[6];