Skip to content

qie.isToday

Signature: qie.isToday(date)

Returns: Boolean isToday - true, if the date is today; otherwise, false

Tests if date is todays date.

Note

If date contains time, the time is ignored.

Parameters

Type Name Description Default
String date the date to check

Example

var processedDate = "2026-01-01";
if(qie.isToday(processedDate)) {
    // the processedDate happened today
}