currentDate

fun <T> currentDate(property: KProperty<T>): Bson

Creates an update that sets the value of the property to the current date as a BSON date.

Return

the update @mongodb.driver.manual reference/operator/update/currentDate/ $currentDate @mongodb.driver.manual reference/bson-types/#date Date

Parameters

property

the property