Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Is there a way to change the createdAt value?

default discord avatar
NH022 years ago
1

Right now I'm working on a case where I need to change the createdAt date made when a collection is made. Does anyone know how to do this? I've already tried adding a field called createdAt with type date to my collection, but when I change the value through this and save, the actual will always revert back to it's initial date.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.