Step 1: I am Working on chat application. I saved the message and datetime in database table. In my localhost it saves correct time (ie) current system datetime.
but problem is i added my code into server it saves the server time not saving the sending time. And also chat application is common for global.how to manage the time ?