Forum Academy Marketplace Showcase Pricing Features

[Solved] How to save dates in UTC format?

Hi.

I’m POSTing data to an API that requires dates to be in UTC format.

I’m currently capturing the dates from my users like so:

And, storing the data in “date” format in my database.
The data is currently in the format of
but I need it in the format like this:

How might I capture it differently so that the format is UTC instead?

Thanks

1 Like

Thanks self!

3 Likes