Looking for help with combining two arrays containing datetimes and displaying the values on the x-axis of a chart.
In need of a function that merges the arrays into one, adding a '0' where there are no duplicates.
array 1 = [2016-01-20,2016-01-21,2016-01-24]
array 2 = [2016-01-21]
final array = [0, 2016-01-21, 0]
Any suggestions on how to do this efficiently?
Thank you in advance!