How to change mobile app date format dd-mm-yyyy to mm-dd-yyyy

I want to change date format for mobile app, How do i do that. Default date format(Input type) is dd-mm-yyyy and i want my date format to be mm-dd-yyyy. I have tried couple of things i.e. Changed the environment configuration settings Date format to MM-DD-YYYY, did not work. Also tried with popup but its taking dd-mm-yyyy only.



Hi Hitesh,

Check out this post by an OutSystems employee; (Mobile apps follow the device settings for date and number format).

Hi Sam,

Thanks for reply, I already read that post you suggest it's not what i was looking for.


Hi Hitesh,

In Outsystems Mobile, you can use the following Built In function.
Checkout this link.


FormatDateTime(#2015-06-09 10:05:20#, "ddd, dd MMM yyyy")

Tue, 09 Jun 2015

Palak Patel

Hi Palak,

Thank's for reply, i tried this one too. But my case is when i click on the input box or calendar icon it prompts me calendar popup where i can select my date. if my selected date is 1 Oct 2018 it should be enter inside the text input box is 10-01-2018 which should be MM-DD-YYYY format. 


Hi Hitesh,

Are you set "Input Type" in input text 'Date' ?


Muhammad Agil

Hi Muhammad,

Yes, I am using Input type as Date.


Hi Hitesh,

You need to put a textbox and bind that textbox with a variable(SelectedDateVar) date type.

You need to call event Calendar on change and using formatDateTime function you can change datetime format as per requirement.