**Example**

Query:

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

Result:

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


break;
                    
                    
                    case 'M':
                        add_instruction_or_shift(&Action<T>::minute, 2);
                        result.append("00");
                        break;
                    
                    case 'p':
                        add_instruction_or_shift(&Action<T>::AMPM, 2);
                        result.append("AM");
                        break;
                    
                    case 'R':
                        add_instruction_or_shift(&Action<T>::hhmm24, 5);
                        result.append("00:00");
                        break;
                    
                    case 'S':
                        add_instruction_or_shift(&Action<T>::second, 2);
                        result.append("00");
                        break;
                    
                    case 'T':
                        add_instruction_or_shift(&Action<T>::ISO8601Time, 8);
                        result.append("00:00:00");
                        break;
                    
                    case 'H':
                        add_instruction_or_shift(&Action<T>::hour24, 2);