Thank you Raman Sharapinski and Robin van het Hof
Solution provided by Raman is working but i am wondering that whu solution of Robin van het Hof
is not working in my case. Where might be error?
And one more question.
Suppose i am selecting date from calendar then how i will convert this date for Gateway post?
If i will follow the Raman code then in pattern i will define like this?? pattern: "yyyy-MM-ddTHH:mm:ss.AAAAAAA"??
Same code will be applicable for javascript view also?