Hi
i am getting probleum in calculating time difference between two time values
e.g.
starttime =12:56:05 PM
endtime = 1:16:29 AM //wrong value
endtime=1:16:29 PM // correct value
but when i insert the value in endtime variable it converts PM Into AM
and i want the same value i,e endtime = 1:16:29 PM
starttime and endtime have date datatype and default value in these variables have "12:00:00"
please tell me the solution how can i solve this probleum
varinder
i am getting probleum in calculating time difference between two time values
e.g.
starttime =12:56:05 PM
endtime = 1:16:29 AM //wrong value
endtime=1:16:29 PM // correct value
but when i insert the value in endtime variable it converts PM Into AM
and i want the same value i,e endtime = 1:16:29 PM
starttime and endtime have date datatype and default value in these variables have "12:00:00"
please tell me the solution how can i solve this probleum
varinder
Comment