Use setdate and make input readonly

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>