$b = strpntime_local($a, "%Y-%m-%d %H:%M:%S"); $c = strfntime_local($b, "%Y-%m-%d %H:%M:%S"); $tz = ENV["TZ"];