When is the expiration date?

When is the expiration date?

Example: If you activate a 7-Day Pass at 1pm on 1st June, it will expire at 23:59PM on 7th June. Exceptions: If you get the train at 11:50PM and arrive after midnight at 12:30AM something like this is allowed