Switchboard SDK
Loading...
Searching...
No Matches
switchboard::Time Struct Reference

Functions to get and manipulate date and time information. More...

#include <Time.hpp>

Static Public Member Functions

static bool isNowBeforeDate (int year, int month, int day)
 Checks whether the current date is before a given date.
 

Detailed Description

Functions to get and manipulate date and time information.

Member Function Documentation

◆ isNowBeforeDate()

bool switchboard::Time::isNowBeforeDate ( int year,
int month,
int day )
static

Checks whether the current date is before a given date.

Parameters
yearThe year to compare the current date to.
monthThe month to compare the current date to.
dayThe day to compare the current date to.
Returns
True if the current date is before the given date, false otherwise.