Create merge date slice

javascript Date merge