I am sure this question has been asked hundreds of time. But I could not get my conversion to work. I want to store time stamp of user's comments into the database as GMT time. I have no idea what the backend looks like. It only takes in Date object as the timestamp. So I have to do it on the flex end.
I am not able to convert my local date to GMT date and pass it to the J2EE service at the back end. Any help would be highly appreciated.