I am working with java 8. I receive a date string such as "2019-01-01" and I have to translate this into an UTC long. I cannot convert it into a date first, because it is converted to the local timezone.
So in entry I have "2019-01-01" and in exit I need 1546300800000
I need to do this in one line (working with talend...)
Any help is welcome.