let strftime ?zone templ time =
  let args =
    (sv_of_string templ :: time) @
    match zone with
        None -> []
      | Some zone -> [sv_of_string zone] in
  string_of_sv (call ~fn:"Date::Format::strftime" args)