Permit date variable conversion

Adds 'dates' argument to permit date variables to be converted to POSIXlt format.