Use str.format() for date