[server] Replace non portable strftime formatter (closes #4132161) [applied]