Method | Description | |
---|---|---|
isFuture ( ) : boolean | Check if current DateTimeObject is in future. | |
isLeap ( ) : string | Check if current DateTimeObject is a leap year. | |
isPast ( ) : boolean | Check if current DateTimeObject is in past. | |
largerThan ( integer | string | DateTime | |
Check if current datetime is larger than $time. | |
smallerThan ( integer | string | DateTime | |
Check if current datetime smaller than $time. |