The problem you described seems to be a task for
Date::Manip. This module is big and slow, but it allows to easily process dates and times in many different formats, taking the timezones into account.
s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print