Something I found myself writing earlier:
# Convert the 2-digit year into the 4-digit year
$y = '20' . $y;
# nb. this breaks for years after 2099.
# however, this server will have been broken for over 60 years by then anyway.
Having survived The Millennium Bug, will your systems die in the early hours of Jan 19 2038? Mine will…