Support Topics Documentation Slack YouTube Blog

Codeless - how to create a date from an isostring?

(Philippe Homond) #1

It is possible to convert a date to an ISOString but what about the reverse ?
Exemple : create a date from “2018-09-23T10:35:35Z”

(Mark Piller) #2

Hi Philippe,

There is no built-in block to do this in a single shot, however, a workaround is available:

  1. Create and save a custom function that looks like this:
  2. In your code re-use the function so the logic looks like this:

You can learn about custom functions from the documentation:

Hope this helps.


(Philippe Homond) #3

Thank you very much, This is working perfectly. I won’t have find it by my own.