timeDifference (DateTime - Java)

Finds the difference in seconds between one date-time and another.

Defined in

DateTime

Syntax

public int timeDifference(DateTime dt)
    throws NotesException
public double timeDifferenceDouble(DateTime dt)
    throws NotesException

Parameters

DateTime dt

Any date-time value.

Return value

int

The date-time of the object minus the date-time of the parameter, in seconds.

double

The date-time of the object minus the date-time of the parameter, in seconds.

Example