New DateTime : DateTime « System « VB.Net by API






New DateTime

  


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

   End Sub
End class

   
    
  








Related examples in the same category

1.DateTime.DayOfWeek
2.DateTime.IsLeapYear
3.DateTime.Second
4.DateTime.Subtract
5.DateTime.ToUniversalTime()
6.DateTime.UtcNow()
7.DateTime.Year