Hi Make-niacs!
Im trying to have a good formatting from the “Created” field that OpenAI returns. Currently, It gives a timezone not within mine and with a lot of info.
How can I modify this field, so that it only includes below format:
Thank you!
Hey there,
here and here.
Depending on what the input is you may need to use parseDate() first to change it into a date variable, then use formatDate() to change it to whatever format you need. There is a link to the list of time zones in the first page I linked.
3 Likes
It worked. Did it through the academy in the past, but forgotten once not used.
Thanks a lot Stoyan!
2 Likes