I’m saving date time in CST timezone,how to change the CST date time to local time.
Ex:
In DB,
Date time is 2013-01-21 06:50:00 and its timezone is CST.This Date Time should be converted into local current time.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Save them as UTC time and then convert them to local time when loading to the UI.