Use a cross-platform compatable strftime.