I tried my best to solve it but I could not. It would be great if you could help me on this.
I have these two arrays..
$firstarray — it contains a date [0] and