Set the value of GetDate() in entity field

Posts   
 
    
alexkor
User
Posts: 6
Joined: 06-Aug-2018
# Posted on: 14-Jun-2021 09:57:35   

Hi there,

I want to get the current datetime in our sql server & set it as value in entity field

Is there any way to set a field to the value of GetDate() when insert or update entity

Regards, Alexkor

Walaa avatar
Walaa
Support Team
Posts: 14986
Joined: 21-Aug-2005
# Posted on: 15-Jun-2021 02:27:18   

This is done by using DBFunctionCall in an Expression set to the field.