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.

 View Only
  • 1.  julian date transformation

    Posted Tue December 23, 2003 05:30 PM

    Is there any way to transform a date (dd/mm/yy) into Julian format. I couldn’t find a specific format mask for this in the developer guide. Is there any specific format mask, that will help me in doing this or do I need to write a transformer service to do so.

    Any help can be appreciated.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 2.  RE: julian date transformation

    Posted Wed December 24, 2003 02:04 AM

    Use the dateTimeFormat with current pattern set to dd/MM/yy what you have and new pattern set to 1yyDDD.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 3.  RE: julian date transformation

    Posted Fri December 26, 2003 08:32 AM

    This method is limited, it assumes the Julian date will always begin with a 1. This is not always true. For instance; if I run 12/15/1956, I get the same result as when I run 12/15/2056. Intelligence must be added to sense the century to get accuracy across centuries. We had to write a simple service to do this.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB