Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
write a c/c++ program with mysql to display the global time zone?
Posted
Updated 14-Jan-12 5:41am
v2

No, it isn't your life.
It's your homework.

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you could find it isn't as difficult as you think.
 
Share this answer
 
Comments
Catalin Serafimescu 14-Jan-12 11:09am    
+5
manognya kota 14-Jan-12 11:35am    
true,+5
Now I am really curious: how can this task change the course of your life (and how much?)?

You may retrieve the value using the simple query: SELECT @@global.time_zone; as stated in this[^] MYSQL documentation page.
(If you just don't know how to connect with MYSQL server for issuing simple queries then you're lucky: there are thousands tutorials available about).
 
Share this answer
 
Comments
Ashish Tyagi 40 16-Jan-12 11:49am    
This will really help him... my 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900