added tz paramter and changed output format.