Hi Vishu,
The solution you have provided worked for me.
Just want to ask since there are couple of columns with date and time so I don;t want to write above code 20 to 25 tims.
Could you please tell me how to write above code in function, If the IF..ELSE .. condition satisfy then how to call the function, pass the parameter and return the output.
Thanks,
Rahul