empty dates stored as null