method

yesterday

v4.0.2 - Show latest stable - Class: Date
yesterday()
public

Returns a new Date representing the date 1 day ago (i.e. yesterday’s date).