We have mismatch in the output while using datetime conversion function for the below mentioned logic.
If the time is between 12:00 PM to 12:59 PM and if we use any function such as addhours, convert etc in ISTX it generates as 00:00 and 00:59.
Map Rule:
FROMDATETIME(TODATETIME(IN_DATE+SUBSTITUTE(IN_TIME,"*",""),"MM/DD/CCYYHH12:MMAM/PM"),"{MM/DD/CCYYHH24MM}")
If the input is
IN_DATE : 3/4/2024
IN_TIME : 12:57PM
Then the
ITX Output:
03/04/20241257
ISTX Output:
03/04/20240057
If the input is
IN_DATE : 3/4/2024
IN_TIME : 03:15PM
Then the
ITX Output:
03/04/20241515
ISTX Output:
03/04/20241515
If the input is
IN_DATE : 3/4/2024
IN_TIME : 08:30AM
Then the
ITX Output:
03/04/20240830
ISTX Output:
03/04/20240830
The issue is whenever the time 12PM ISTX process it as 00.
We have been using ISTX Version 10.1.1.1
------------------------------
Suriya Prakash
------------------------------