What have you tried? Here are some hints in case you have problems getting started:
- If you have the epoch (seconds since 01-01-1970) at hand, add 3600 seconds and render output again.
- If not, convert your date into an epoch and proceed with previous step.
- Regexp might work. Hints: perlre ('e' switch); sprintf
- Have a look at CPAN modules. Maybe Date::Manip or Date::Time is something for you?
What's wrong with the advice given in How to get current UK time?
HTH