Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / DateInfo Class / ToOADate Method / ToOADate(LocalDateTime) Method
The LocalDateTime object to convert.
In This Topic
    ToOADate(LocalDateTime) Method
    In This Topic
    Gets OADate according to LocalDateTime.
    Syntax
    public static double ToOADate( 
       java.time.LocalDateTime localDateTime
    )

    Parameters

    localDateTime
    The LocalDateTime object to convert.

    Return Value

    the value of OADate
    See Also