**Example**

Query:

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

Result:

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


{
            writeNumber2(target, ToISOWeekImpl::execute(source, timezone));
        }
        static void ISO8601Year2(char * target, Time source, const DateLUTImpl & timezone) 
        {
            writeNumber2(target, ToISOYearImpl::execute(source, timezone) % 100);
        }
        static void ISO8601Year4(char * target, Time source, const DateLUTImpl & timezone) 
        {
            writeNumber4(target, ToISOYearImpl::execute(source, timezone));
        }
        static void year2(char * target, Time source, const DateLUTImpl & timezone)
        {
            writeNumber2(target, ToYearImpl::execute(source, timezone) % 100);
        }
        static void year4(char * target, Time source, const DateLUTImpl & timezone)
        {
            writeNumber4(target, ToYearImpl::execute(source, timezone));
        }
        static void hour24(char * target, Time source, const DateLUTImpl & timezone)
        {
            writeNumber2(target, ToHourImpl::execute(source, timezone));
        }
        static void hour12(char * target, Time source, const DateLUTImpl & timezone)
        {
            auto x = ToHourImpl::execute(source, timezone);
            writeNumber2(target, x == 0 ? 12 : (x > 12 ? x - 12 : x));
        }
        static void minute(char * target, Time source, const DateLUTImpl & timezone)