Text to number

I set a variable with format(30.12.2022 13:00, „X“) and get a unixtime as string.
How do I transfer this string to a number?
I try parseNumber() but get no result.
Any ideas?

Summary

This text will be hidden