United HealthGroup Interview Question for Java Developers


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
9
of 9 vote

Store time in UTC?

- Anonymous January 19, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

store all time values in one single US timezone (whichever it may be) in the Database side and on the webserver part after reading the values from the DB change the time in whatever timezone you need. Doesn't that work?

- Rage January 19, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

we can change the time zone of server

- praveenkcs28 January 20, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote
The question was not clear. few solutions can be 1. change the database time zone, {{{ alter database set time_zone='India/Hyderabad'; 2. if you want the data to be displayed on screen, then add or subtract according to timezone, and convert each time. - RajeevV January 25, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Database timezone is US then use a utility class to convert from US to Specific country time zone and from browser check the current timezone and convert it on displaying it.

- http://javadecodedquestions.blogspot.sg/2012/03/java-interview-with-investment-bank-4.html February 17, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Store the time in US timezone on database side. Use views to display the time on the web server side. These views must calculate the indian time before displaying

- anurag K June 17, 2013 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More