strftime to adjust proper times