DateTime.IsInPreviousNMinutes
This function checks if the specified datetime value dateTime falls within the number of minutes before the current date and time on the system. The function returns false if the dateTime value is wit...
This function checks if the specified datetime value dateTime falls within the number of minutes before the current date and time on the system. The function returns false if the dateTime value is within the current minute.
Parameters:
- dateTime: The datetime or datetimezone value to be evaluated.
- minutes: The number of minutes to check against.