Quantcast
Channel: Silk Test - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 625

DateTimeStamp

$
0
0

Hi, I have a datetime stamp stored in a variable retrieved from SQL database..

Dim sPostDateTime As String = "2017-06-02 09:46:10.8626513"

After seconds, the '.8626513' rounds the 'seconds' from '10' to '11'. And, I want that to be as "2017-06-02 09:46:11". 

Is there any method available for doing this in VB.NET?

 

 


Viewing all articles
Browse latest Browse all 625

Trending Articles



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