Probably not a string but a number being unixtime, so https://docs.moodle.org/dev/Time_API.
General developer forum
Convert string date to date Moodle 3.3
This discussion has been locked so you can no longer reply to it.
Probably not a string but a number being unixtime, so https://docs.moodle.org/dev/Time_API.