How to asssigne date time data type to Null value?
Hi Tushar,
You can use the Nulldate() function available within the OutSystems to assign null value to date & datetime type.
Hope this helps,
Regards,
Manish Jawla
Hi @Tushar Verma ,You can use "DateToDateTime(NullDate())" to get the null datetime (1900-01-01 00:00:00 ).And simple "nulldate()" will also work if you assign it to datetime variable.Regards,
Hi @Tushar Verma
You can check default values documentation in Outsystems here for your reference:
Default Values on Database - OutSystems 11 Documentation
OutSystems Platform always assumes default values for the built-in types. Here is the available date time:
Does it return any issues for using default datetime values? If still needed to put NULL you can check this documentation:
How to insert a null value into a database record - OutSystems How to Guide
Hii Tushar,
can you use the Nulldate() function available.
In the expression you can assign the NullDate() to your variable
If you got the solution then please marked as a solved