Can u help me?
i have question,
How to change format date to "dd-MM-yyyy" in input when input get CurrDate() from default value in entity.
or or if you have a best practice way you can tell me.
Thank you
Hi Muhammad,
I made some changes to your implementation. Please refer to the attached OML
Solution:
I hope this helps you!
Kind regards,
Benjith Sam
This is for the Database
If you use DatePicker instead of RichWidgets\Input_Calendar the problem will be solved.
Regards,
Yusuf
Hi
You can manage it from service center.
Hi,
If you just want to change the format showed on page for only some pages, you can use the widget Controls/DatePicker and set the format to format the date.
If you also want to change the format for all applications and all page, you can change the configuration in Service Center,
In addition to the above inputs you can use FormatDate in-build function to get your date formatted based on your requirement.
Thanks,
Sandeep.
Dear @Yusuf Kerim Tüysüz , @Vijay Malviya , @Merliny
Thank you for the answers you gave.
I have done the suggestions you guys gave and it worked on the ticket details page, but I have a problem on the report page and in my database.
why on the report page and in the database it doesn't want to save CurrDate() data even though I have given the CurrDate() value in the CreatedOn entity or in the InitialDate Controls\DatePicker properties. Why does my database always store the NullValue of the CreatedOn input form which is "#1900-01-01#" ? can you help me solve this problem?
Thank you.
i think u can't store null values into an Outsystems Entity DateTime . you can make it text if you want
Can you tell what are you trying to achieve?
I have tried the same logics and settings, and it works fine. Can you upload the oml file, and let me check it.
Dear @Merliny
This is my oml file
This is my oml file for database
I think this is a bug of the widget 'Controls/DatePicker'. We can use 'RichWidgets/Input_Calendar' instead. The configurations are the same, please refer to below:
I have tried this, it works fine.