Hi,
I have to change my time settings. When I had installed sugarcrm 4.5.0c, I had set the time to Indian Standard Time (GMT + 5:30). Now, I have to change it to US time zone. How can I do that?
The exact scenario is something like this:
I have a function in Case.php which calculates the age of a case. This is done by subtracting the date_entered value from current datetime. Now, this used to give me the age as 5:30 mins for a newly entered case. Now, it clicked me that this is because of the time difference between GMT and IST. So, I added the code for subtracting the time difference. Now, since I had to change the time zone, I chanegd that line of code to return the EST (Eastern Standard Time, the one applicable in New York). But, I want to know the working of timings in sugarcrm. Will changing the time zone help? I am looking forward to make these changes without changing the code. Is it possible?
I am all ears for suggestion....
THanks in advance,
Sagar Laddha
India


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks