Both of your examples mean that May 22nd is the only acceptable postmark. If you finished your application early and sent it on the 21st, it would be postmarked on the 21st rather than the 22nd. "By the 22nd" means all of the days before and including the 22nd.