Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69139

Get Date/Time String unexpected rounding

$
0
0

I just noticed the function "Get Date/Time String" rounds to the nearest second when input "time stamp" is unwired, while it simply truncates when the input is wired.

 

I would expect the function to truncate in both cases.

I compared with "Format Date/Time String" for reference:

 

Fractional part > 0.5:

raphschru_3-1725463193157.png

 

 

Fractional part < 0.5:

raphschru_4-1725463233820.png

 

I guess it's a bug?

 

Regards,

Raphaël.

 


Viewing all articles
Browse latest Browse all 69139

Trending Articles



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