use POSIX functions and wrap tzset
to_string method