I've created a web application where I have a variable containing date and time.
If I print the variable in an HTML element I see the date and time as required,
but if I'm calling the variable from a date input field then I see a different time (see below)
In the HTML element in the page the time is 17:00 but its 22:00 in the input field.
both are using the same variable - 'varSendStart'
Does anyone know how can it be fixes?
Yes just as I've mentioned above, I used it as text and not as a date placed a JS validation rules for the input and that worked.