updated time input
updated time input

used local time of onclick