Just encountered an issue with TI Now() function under 9.5.2 FP1 as I'm getting different results on two servers (2008R2) that have both System time set to GMT+8.
One server return GMT time, whereas another server return local time (which is GMT+8).
Based on my experience and document, Now() should return the local time which in my case GMT+8, hence something is very wrong with the first server.
I don't think this is a TM1 bug but rather some configuration on the sever OS, else I'll raise a ticket to IBM. Any suggestion ?
TI NOW() return GMT even though server is set to GMT+8
- qml
- MVP
- Posts: 1098
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: TI NOW() return GMT even though server is set to GMT+8
Quite frankly I don't know for sure if this will affect what NOW() returns, but it is possible to configure transaction logging to use either local time or GMT. To do that edit the tm1s-log.properties file.
You can either useor
Check if this parameter is the same or different for your servers.
You can either use
Code: Select all
log4j.appender.S1.TimeZone=GMT
Code: Select all
log4j.appender.S1.TimeZone=LOCAL
Kamil Arendt
-
- Community Contributor
- Posts: 206
- Joined: Fri Oct 17, 2008 2:40 am
- OLAP Product: TM1, PA , TMVGate
- Version: 2.x
- Excel Version: 36x
- Location: Singapore
- Contact:
Re: TI NOW() return GMT even though server is set to GMT+8
Thanks. I doubt this will change anything as both server has the exact same log setting.
NOW() in TM1 should be utilizing standard windows API to obtain the system time, I think I'll write a WSH script that call NOW() and see if I get the same results.
NOW() in TM1 should be utilizing standard windows API to obtain the system time, I think I'll write a WSH script that call NOW() and see if I get the same results.
-
- MVP
- Posts: 733
- Joined: Wed May 14, 2008 11:06 pm
Re: TI NOW() return GMT even though server is set to GMT+8
You can just do this on the command line:kangkc wrote:I think I'll write a WSH script that call NOW() and see if I get the same results.
Code: Select all
echo %time%
Robin Mackenzie