Step - date_diff

date_diff · dateDiff · category: Dates and times

Difference in milliseconds (TinkerPop dateDiff()) or whole DT units.

Forms

date_diff(arg1: any)
date_diff(arg1: any, arg2: DT)
date_diff(arg1: any, arg2: DT, arg3: string)

Example

g.inject(time("10:00")).date_diff(time("09:00"), DT.hour).next()   // 1