Question: i use to get data from this url api.but i checked this in my console but it getting crash.It like get the movie list and to display in table view.Here i use to check whether i am doing in correct way or in wrong manner.

Here my code:

**EDITED:**

```
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    NSString *authUrl =@"http://www.omdbapi.com/?s=Game%20of%20Thrones&Season=1";

    NSString *str1 = [authUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

    NSURL *url = [NSURL URLWithString:str1];
    NSData * data=[NSData dataWithContentsOfURL:url];

    NSError * error;
    NSDictionary *json = [NSJSONSerialization JSONObjectWithData:data options: NSJSONReadingMutableContainers error: &error];
    NSLog(@"json%@",json);
}

```

Answer: 
```
DateTime src = ...;
var target = new DateTime(src.Year, src.Month, src.Day, src.Hour, 0, 0)
                .AddHours(1.5);

```
```
string yourstring = "10:05:00 am";
DateTime date1 = DateTime.Parse(yourstring);
if (date1.Minute > 0)
    date1 = date1.AddMinutes(-date1.Minute);
if (date1.Second > 0)
    date1 = date1.AddSeconds(-date1.Second);
date1 = date1.AddMinutes(90);
Console.WriteLine(date1);

```