post artical js getPredate and nextdate