date changed for ajax