Fixed list support in datetimeToEpoch