DateTime.compareDateTime() - Mtax-Development/GML-OOP GitHub Wiki

Argument

Name
Type
Optional
other
No

Returns

{int} | On error: {undefined}

Description

Compare this DateTime with an other one and check which is first. Returns -1 if this date and time is earlier, 0 if even, 1 if later.

⚠️ **GitHub.com Fallback** ⚠️