scadge
(Sierżant Kwiatkowski)
October 7, 2019, 10:24am
1
I think it would be a nice feature to be able to set “current time” as a default value for Datetime field in Data Service.
I know one can use the created
field for that, but there are some inconvenient differences, which are:
you can’t change the created
field value further
usually there is a more appropriate name for that field in your app’s domain, e.g. start
Hello @scadge
Thank you for your proposal.
We will discuss this.
Not the most straight forward solution, but the created
value can be copied in the afterSave
business logic event.
Or just use the current time there…
scadge
(Sierżant Kwiatkowski)
October 7, 2019, 11:06am
5
Yes, there are ways to achieve that with event handlers as well, and also it’s easy to set time to current from the client. But still having it built-in, like in most databases, would be more convenient (and more atomic).