android - How to restrict user to select current or previous time for Today and select any time for past dates in time picker dialog -


as have written in title wanna restrict user select current or past time today , can pick time past dates . please tell me how in android. have added restriction date picker using setmaxdate(); method unable same in time picker please tell me how should this.

try

setmaxdate(system.currenttimemillis()); 

Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -