isDateInFuture

fun isDateInFuture(dateString: String): Boolean(source)

Determines whether the given date string represents a date in the future.

Return

true if the date is in the future, false otherwise.

Parameters

dateString

The date string to check. It should be in the format "yyyy-MM-dd" or "MMMM d, yyyy".