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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Timestamp in IS and SQL Server

    Posted 07/08/04 01:33 AM

    Here is a strange one. I have a service that is invoked by a jdbc update notification. When invoked it inserts a row in a table. One of the fields inserted is a timestamp obtained from IS via the built-in function getCurrentDateString (with template yyyy-MM-dd HH:mm:ss.SSS).

    So far so good. However, in one of my test the timestamp that was stored in the table was approximately one hour ahead of the actual time (actual time= 11:15 AM, stored time=12:18 AM). All other tests show the correct time. I cannot reproduce the problem but my data base contains hard evidence that this truly happened.

    Obviously, something funny is going on when and IS date string is converted to a SQL Server datetime field.


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


  • 2.  RE: Timestamp in IS and SQL Server

    Posted 07/08/04 02:04 AM

    Oh, now I get it. SQL Server counts time as 12:00 AM, 1:00 AM, … 11:00 AM, 12:00 PM. I thought midnight was 00:00.


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