Skip to content

currentTime

The currentTime function is a method that retrieves the current time. This function does not require any parameters and simply returns the current date when called.

Example Usage

use sbamtr\LaravelQueryEnrich\QE;

Book::where('id', 1)->update(['published_time'=>QE::currentTime()]);