Comparing %TimeStamp data types
Hi Guys,
I do have a class where one it's fields is defined as
Set RSet=##class(%ResultSet).%New()
Set Ret=RSet.Prepare(sql)
Set Ret=RSet.Execute()
While RSet.Next()
{ Set routeGuid=""
Set nextScheduled=RSet.GetData(9)
I $ZDATETIME($h,3,1)>nextScheduled S ^badis("datetime",Id)=$ZDATETIME($h,3,1)_"|"_nextScheduled
}
here are the records from my class
and here I should be getting all 12 records,
Thanks