boolean before (DateTime d1, DateTime d2)
boolean before (DateTime d1, DateTime d2)
Name | Type | Description |
---|---|---|
d1 | DateTime | A DateTime (date/time) that will be compared with the second argument. |
d2 | DateTime | A DateTime (date/time) that will be compared with the first argument. |
Type | Description |
---|---|
boolean | true if the date d1 comes before the date d2 , otherwise return false. |