Is postmarked Dec 31 ok or must entry be received by that date?

Thanks,

Peter Quentin