I've got a DateTimeField(auto_now_add=True)
in my model. However, I wish to update this field, and the format I'm receiving from my API is a UNIX timestamp. Can I somehow convert the format I receive from my API to the correct one? (eg 1640206232
to 2021-12-22 20:50:32).
Using postgres as my db if that matters..