Date formate

Hi guys,

I want to save the date in dd-mm-yy formate in database.

How to deal with this???In reactive

HI Rohan,

While display you can use built in function  FormatDateTime () to format in dd-mm-yyyy. some thing like below

FormatDateTime(Date,"dd-mm-yyyy")

If you need this format to be done on whole environment you can do it as below

 

Best Regards

Devendra





I think you can approach this two ways

You store the dates in the outsystems format and then deal with the conversions of your input parameters and where you present it (using functions like FormatDateTime() - example)

Or you store the dates in your format as text and then you have to deal with conversion using your own functions every time you want to add, subtract time, etc.


I'd go for the former one.



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.