Hi,
So, I have this issue with time syntax, I believe.
The user is choose the current time using the time component. I am using a format of HH:MM. So, they choose 18:30, for example.
Now, the API I am trying to send a request to, want a full blown time stamp which looks like this:
{{"2021-03-14 17:45:00"}}
Which means I need to add the date (I don't mind using today's).
So, I tried this, in the value:
{{moment().format('YYYY-MM-DD')}} {{Origin_Time.value.format('hh:mm:ss')}}
While "Origin_Time_Value" is the component that takes the user's input of the current time.
I am getting a response of syntax is wrong, as if the fields I am entering are wrong in their format and I don't know how to write this..
Help!