Selection range

From 1.0.0+

            
<date-picker from="{{today.clone().toString()}}"/>
                
            
            
<date-picker from="{{today.toString('jy')}}"/> // {{today.clone().month(1).date(1).toString()}}
                
            
            
<date-picker from="{{today.toString('jy/jM')}}"/> // {{today.clone().date(1).toString()}}
                
            
            
<date-picker type="time" from="10:00"/>
                
            
            
<date-picker type="datetime" from="{{today.clone().toString('date 10:00')}}"/>
                
            

The default value of from prop is "1300" that means "1300/1/1"

To 1.0.0+

                
<date-picker to="{{today.year()}}"/> // {{today.clone().endOf('year').toString()}}
                
            
                
<date-picker to="{{today.toString('jYYYY/jMM')}}"/> // {{today.clone().endOf('month').toString()}}
                
            
                
<date-picker to="{{today.toString()}}"/>
                
            
                
<date-picker type="time" to="22:00"/>
                
            
                
<date-picker type="datetime" to="{{today.toString('date 22:00')}}"/>
                
            

The default value of to prop is "1499" that means "1499/12/29"