how to convert string with format HH:MM:SS to NSDate objective c? : Stored time in the string format HH:MM:SS from json responce. I want to convert it NSDate for local notification.
tried 
 NSString *datestr = @"21:00:00";
    
    NSDateFormatter *dateformat = [[NSDateFormatter alloc]init];
    
    [dateformat setDateFormat:@"hh:mm:ss"];
    NSDate *date = [dateformat dateFromString:datestr];
    
    
    
    NSLog(@"time is %@",date);

Getting Null time . I have time format from json is in 21:00:00 format only no date . Want to set this time for Local Notification everyday .

Thanks In Advance. 