IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only

Simple dateTimeFormat transformation not so simple

  • 1.  Simple dateTimeFormat transformation not so simple

    Posted Tue September 16, 2003 07:11 PM

    I am unable to get this service to correctly give me a “+” or “-” for the time zone after trying several combinations.

    Here is what I am doing:
    inString: 20031230T11:22:33+11:00
    currentPattern: yyyyMMdd’T’HH:mm:ss hh:mm
    newPattern: yyyyMMdd HH:mm:ss ‘GMT’[+/-]hh:mm (where [+/-] should be what is passed in on the inString)

    The new format
    should be: 20031230 11:22:33 GMT+11:00
    I am getting: 20031230 11:22:33 GMT 11:00

    How do I get the +/- to show up in the time format like it is being passed in? There are a few time zones that are - of GMT, so I want to differentiate.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB