Date.ToOADate : Date « System « VB.Net by API






Date.ToOADate

  

public class Test
   public Shared Sub Main
        Dim D As Date = Now()
        Dim F As Double = D.ToOADate()
        Console.WriteLine(F)
   End Sub
End class

   
    
  








Related examples in the same category

1.New Date(Int year, Int month, Int day)
2.New Date(Int year, Int month, Int day, Int hour, Int minute)
3.Date.AddDays
4.Date.AddMilliseconds
5.Date.AddMonths
6.Date.AddYears
7.Date.DayOfYear
8.Date.Millisecond
9.Date.Parse
10.Date.ToLongDateString
11.Date.ToLongTimeString
12.Date.ToShortDateString
13.Date.ToShortTimeString
14.Date.ToString
15.Date.ToUniversalTime
16.Date.op_Subtraction