I run a request to a web server with the Maria SQL database, in the response I get a field with a date in the TIMESTAMP(6) format. I want to store the value of this field into a variable. But at me it turns out to save only in a string. Then it is not convenient for me to process it. How can I convert the value of TIMESTAMP(6) to a long integer. Parsing the string seems to me not the best. option.