vb.net - Converting Date to hours in VB -
How do I calculate the date for hours? For example, I want to decide how many hours remaining during the current time (July 25 in our country) from July 23.
Output this way:
Total hours past: 48 hours < Div class = "post-text" itemprop = "text">
I suspect that there is more secret below how do you get dates in your code just like the surface. If a date comes out from another country, then you have to keep this in mind. It's hard to be clear without the code.
Date given as date = # 2/10/2010 # Date as date = Date # 10/21/2013 # Dim TS1 timespan = that date. This date) 'or' 'Temppen as Demat TS1 = That date - The Daydate Console.light line ("{0} days or {1} hours have passed", ts1 totes, ts1, totalhors) Output:
1349 days or 32376 hours have passed
Comments
Post a Comment