Filter with empty date 22 September 2024 / 1 min readgo, mongodb 💻 Tech To find documents with empty date like 0001-01-01T00:00:00.000+00:00 in MongoDB with go.mongodb.org Go package: collection.FindOne(ctx, map[string]string{"somedatefield": time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC)})