strftime with try to prefent a error