13
Views
15
Comments
Solved
Outsystem default date and Time
Question

Hi Team,

When I am saving the form having date and time as separte field of date and time resp,I am not able to save them in reactive web app.It is storing as  below in table

1 Jan 1900
        00:00

Please let me know how to save the form date and time values which user has entered.

Thanks,

Ujwala

Solution

Hi Tom,


Thank you for the solution suggested above.It i working now.

Rank: #288
Solution

Hi ujwwala  


Please provide the assign node screenshot.

By the way, Why you need Time and Date as local variables.

You can bind inputs to GetBookingSlotsList.Current.BookingSlot.Date and GetBookingSlotsList.Current.BookingSlot.Time directlly.

Kind Regards,

Solution

Hi Tom,


Thank you for the solution suggested above.It i working now.

Rank: #528

Hi Ujwala,

Could you share the oml file?
Despite of it, you should check if the input variables are correct, because those values that you listed are the default values.

Best regards

Rank: #288

HI ujwwala

Pleased to provide more detailed information.

The value you mentioned is the default value

Kind Regards

Hi Team,

I am not using datepicker but using  input types as date and time resp.

Capture1.JPG

One more snapshot for time,How to save the date and time in table.


Capture2.JPG

Rank: #88

HI Ujwwala,

Make sure when you are using CreateorUpdate entity action right field assign to respective field once check you assignment. or provide code of images.


Hope this will help you.

Regards

Rahul

Rank: #88

In your assignment please check i think you missed it.

proper date filed assign to date and time filed with Time with entity.


Hi Rahul,

PLease find.


Rank: #288
Solution

Hi ujwwala  


Please provide the assign node screenshot.

By the way, Why you need Time and Date as local variables.

You can bind inputs to GetBookingSlotsList.Current.BookingSlot.Date and GetBookingSlotsList.Current.BookingSlot.Time directlly.

Kind Regards,

Solution

Hi Tom,


Thank you for the solution suggested above.It i working now.

still saving as default date and time as 00:00 in table

Rank: #528

Hi Ujwwala, 

in your Assign, you are setting the Date and Time variables with the database values, that is your problem. You must invert it.

Regards

Hi All,

Thank you it is resolved,local variables were not needed,binded inputs to aggregate current record.It is working now.

Thank you

Rank: #288

Hi ujwwala  

You are welcome, I'm glad I could help.

Regards