Hi Anil,
Are you setting the clock in the switch with time command?
If yes, below is an example. If you want to set the time to 1:15PM, enter the command 'time 13:15:00'
HPJ9853(config)# show time
Wed Oct 10 05:58:49 2018
HPJ9853A(config)#
HPJ9853A(config)#
HPJ9853A(config)# time 13:15:00
Wed Oct 10 13:15:00 2018
HPJ9853A(config)# show time
Wed Oct 10 13:15:07 2018
HPJ9853A(config)#
If you are using a NTP server, the switch syncronizes the time that is set on the server.