+ 1

Add one hour to time

I have two times as string a=10:00:00 and b=12:00:00 I need to subtract a from b and result should be 2. i.e. b-a=2 Again, I need to add 1 to a. i.e. a+1=11:00:00

26th Dec 2022, 5:33 AM
Kashyap Kumar
Kashyap Kumar - avatar
2 Antworten
26th Dec 2022, 5:50 AM
Calviղ
Calviղ - avatar
+ 2
Thank you Calviղ
26th Dec 2022, 6:40 AM
Kashyap Kumar
Kashyap Kumar - avatar