I did share a project at github ( https://github.com/klux21/limitless_times ) that provides a several times faster and much less restricted implementation of many time functions including a portable and fast wrapper of localtime_r(). It ensures my logging to be fast like hell on all common platforms. The usage is free of charge except for weapons or spyware.