You are not logged in.
Pages: 1
Hello,
There are some web services insisting on "yyyy-mm-dd hh:nn:ss" format. Sometimes they even put only php format string "Y-m-d H:i:s" as their requirement.
Is it possible to have mORMot2 to serialize TDateTime values using a custom format?
Thanks & Regards,
Ertan
Offline
You can overwrite the TDateTime format, but it would be global for the whole process.
IMHO this is not a good idea.
I would just use a RawUtf8 field with manual serialization instead.
Offline
Pages: 1