Click here to Skip to main content
15,891,725 members

Comments by venu656 (Top 1 by date)

venu656 16-Feb-17 21:50pm View    
Thanks PPolymorphe ,then how to get exact value ,Could you send me how to do that i am struggling a lot
This is how my exact code looks like
ulong unitDate = (((ulong)unitID) << 32) + (ulong)localTimeStamp.Date;
uinT unitID = (uint) (0xffffffff & (unitDate >> 32));
uint localDate = (uint) (0xffffffff & unitDate);
if my unitid is less than 4294967295 i am getting exact results but when if it more than 4294967295 i am not getting exact results in the unitid ,how to handle these resuls