Answers for "set max 7 days from today in datepicker android"

0

set max 7 days from today in datepicker android

long now = System.currentTimeMillis() - 1000;
dp_time.setMinDate(now);
dp_time.setMaxDate(now+(1000*60*60*24*7)); //After 7 Days from Now
Posted by: Guest on June-14-2021

Code answers related to "set max 7 days from today in datepicker android"

Browse Popular Code Answers by Language