Date fix for quoting

The date wasn't being printed properly for quote because it was being
instantiated with a string and not a number.