Use the database nulldate in frontend for check