Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: Timestamp column drops milliseconds in XSJS query with resultSet.getMetaData?

$
0
0

Checking trace output of rs.getTimestamp(i) shows a date string format that doesn't include milliseconds.  Accordingly, when the setDate() call creates a Date object the milliseconds default to zero.

 

I also had to explicitly call toISOString() to force the issue and get a date string that includes milliseconds.  Passing that string to the setDate() method then works as expected...


Viewing all articles
Browse latest Browse all 8968

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>