André Siébra wrote:
Hi Jared,
Just try Andre you will find the solutions..
Regards,
Rajat Agrawal
Hi,
Is there a way to have the time only appear when the input widget appears? I tried using "%H:%M" in the DateFormat and ShowTime to True, but the dates still appear.
Romuel
Rom wrote:
Hi Rom,
See below image only Time is displaying.. Try once more time
Rajat Agrawal wrote:
I had the same problem. The date is still displaying when I try to select time...
Please try it.
Hi Guys. I'm working on a OS11 Reactive APP and I have the same problem. I format the Date in the PickDate widget, but the Input Widget still presents the date as "YYY-MM-DD"
Hi David,
I've experienced the same issue you described. I was able to overcome it on a Mobile app by doing the following:
1. Created a local variable on my screen with data type 'Text' - named it 'PickedStartDate';
2. Set the 'Variable' property of the input widget associated with the Date Picker to the local variable 'PickedStartDate' (created on the above step);
3. Set the data type of the input widget associated with the Date Picker as 'Text';
4. Set the DateFormat property of the DatePicker as "DD/MM/YYYY";
5. On my handler action DatePickerOnSelect, I assigned the variable 'PickedStartDate' to the 'StartDate' input parameter of that action.
6. On the save action for my screen, I added an assign to the top of the flow to cast the local variable 'PickedStartDate' from 'Text' to 'Date' data type and assigned it to the entity variable where I really wanted to save the date. An example would be GetVacationById.List.Current.Vacation.StartDate = TextToDate(PickedStartDate).
7. On my screen, I also created an OnAfterFetch action on my aggregate GetVacationById where I assigned the local variable PickedStartDate = DateToText(GetVacationById.List.Current.Vacation.StartDate) so that I can see the date that was previously saved on my input when I navigate to the screen.
And that's it! I'm pretty new to OutSystems but this solution is working for me so far.
I hope the above is useful to you, please let me know if you have any questions.
Kind regards,
Vanessa
Thank you Vanessa
The simplest way is you can use the Input mask associated with your input, and then specify the required format in that like 'MM-dd-yyyy'.
Let me know , if this works for you. Thank you
@Jared Tan
You can visit this Discussion.
Thanks,
Sonali verma