Nodejs Utililty Methods Date After

List of utility methods to do Date After

Description

The list of methods to do Date After are organized into topic(s).

Method

after(other)
Date.prototype.after = function(other) {
    return this.compareTo(other) > 0;
isAfterDate(d)
Date.prototype.isAfterDate = function (d) {
    var tDate = new Date(this.getFullYear(), this.getMonth(), this.getDate());
    var pDate = new Date(d.getFullYear(), d.getMonth(), d.getDate());
    return tDate > pDate