**Example**

Query:

```` sql
SELECT formatDateTime(toDate('2010-01-04'), '%Q')
````

Result:

```` sql
┌─formatDateTime(toDate('2010-01-04'), '%Q')─┐
│ 1                                          │
└────────────────────────────────────────────┘
````


memcpy(pos, begin, bytes_to_copy);
                pos += bytes_to_copy;
            }
        }
        auto * begin = reinterpret_cast<char *>(dst_data.data());
        auto * pos = begin;
        for (size_t i = 0; i < vec.size(); ++i)
        {
            if constexpr (std::is_same_v<DataType, DataTypeDateTime64>)
            {
                for (auto & instruction : instructions)
                {
                    
                    
                    const auto c = DecimalUtils::split(vec[i], scale);
                    instruction.perform(pos, static_cast<UInt32>(c.whole), time_zone);
                }
            }
            else
            {
                for (auto & instruction : instructions)
                    instruction.perform(pos, vec[i], time_zone);
            }
            dst_offsets[i] = pos - begin;
        }
        dst_data.resize(pos - begin);
        return col_res;
    }
    template <typename T>
    String parsePattern(const String & pattern, std::vector<Action<T>> & instructions) const