Added support for timezones in dateformat function.