I have a string as
NSString *milliSeconds=@"1413808458821";
I tried the following to convert it to number, but None of them are giving correct value.
NSInteger number = [milliSeconds intValue];
NSInteger number = [milliSeconds integerValue];
NSInteger number = [milliSeconds longLongValue];
Please help me. Thanks in advance.