How to convert YYYY-MM-DD T HH:MM:SS+02:00 to timestamp?

Hi i have date in this format: 2020-05-21T18:00:00+02 i got it from Salesfroce.
It is possible to convert it to timestamp i mills?
Thanks!

@Kamil_Cyrek
Have a look here:


maybe this helps and can be adopted or the base of multiplying with 1000

1 Like

I know how to, get current date in timestamp by this function.
But don’t know how to convert 2020-05-21T18:00:00+02 to timestamp :confused:

Give a try on Parsing 2020-05-21T18:00:00+02 into a date and then use this date instead of now…
within the referenced solution

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.