Topic
  • 3 replies
  • Latest Post - ‏2012-10-19T07:37:33Z by WBE
Whylu
Whylu
4 Posts

Pinned topic The timezone of Date in rule's parameter is always at UTC+00:00

‏2012-10-17T10:01:39Z |
hi,

I tried to assign a Date type(let we call it A) which created from XOM to a Date type output parameter,
and the timezone of output is always at UTC+00:00.

I doubt the time created from xom is wrong, so I assign the String of A to a String type output parameter, and it show the time which exactly I want.

I had tried changing the timezone of JVM as like URLs below
http://edwin.baculsoft.com/2011/08/how-to-set-timezone-on-websphere-application-server/
but it doesn't change the timezone of the output Date.

How can I get the timezone of Date which the Date parameter is in Rule?

best regards,
Whylu
Updated on 2012-10-19T07:37:33Z at 2012-10-19T07:37:33Z by WBE
  • WBE
    WBE
    99 Posts

    Re: The timezone of Date in rule's parameter is always at UTC+00:00

    ‏2012-10-18T07:14:33Z  
    Hi Whylu,

    This looks like a Rules questions. You will probably have a better chance to get an answer if you try the Rules' froum.

    Regards
  • Whylu
    Whylu
    4 Posts

    Re: The timezone of Date in rule's parameter is always at UTC+00:00

    ‏2012-10-19T02:18:10Z  
    • WBE
    • ‏2012-10-18T07:14:33Z
    Hi Whylu,

    This looks like a Rules questions. You will probably have a better chance to get an answer if you try the Rules' froum.

    Regards
    hi WBE,

    Thanks for your reply.

    I'm not sure where the rule's forum is.
    Is this the URL?
    http://www.ibm.com/developerworks/forums/forum.jspa?forumID=2060&start=0
    Can you help me, please?
    Regards
  • WBE
    WBE
    99 Posts

    Re: The timezone of Date in rule's parameter is always at UTC+00:00

    ‏2012-10-19T07:37:33Z  
    • Whylu
    • ‏2012-10-19T02:18:10Z
    hi WBE,

    Thanks for your reply.

    I'm not sure where the rule's forum is.
    Is this the URL?
    http://www.ibm.com/developerworks/forums/forum.jspa?forumID=2060&start=0
    Can you help me, please?
    Regards
    Looks right to me. :-)

    Regards