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

Argument

Name
Type
Optional
other
No

Returns

{int} | On error: {undefined}

Description

Compare this and a specified DateTime to check which is first. Returns -1 if this date is earlier, 0 if even or 1 if later.

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