I have two arrays with datetimes. I want to display the values in the x-axis of a chart.
I need a function that combine the arrays in one and add a '0' where aren't duplicates.
array 1 = [2016-01-20,2016-01-21,2016-01-24]
array 2 = [2016-01-21]
final array = [0, 2016-01-21, 0]
Is there any quick way to this?
thank you very much