Get Date from long integer : DateTime « Date Time « VB.Net Tutorial






public class Test
   public Shared Sub Main
    Dim D As New DateTime(10000333333333333)
    Console.WriteLine("10000 ticks is " + D.Date())

   End Sub
End class
10000 ticks is 09/09/0032








5.5.DateTime
5.5.1.Get Date from long integer
5.5.2.Get UniversalTime from DateTime
5.5.3.DateTime.Parse(12:00:00 PM)
5.5.4.DateTime parse date and time by DateTimeFormatInfo
5.5.5.DateTime Subtract
5.5.6.Get Hour from DateTime
5.5.7.Timing code block
5.5.8.Displays the total number of weeks in the current year.