Date.IsInNextNWeeks
This function checks if the provided datetime value dateTime falls within the next set number of weeks, based on the current date and time of the system. Keep in mind that if a value falls within the ...
This function checks if the provided datetime value dateTime falls within the next set number of weeks, based on the current date and time of the system. Keep in mind that if a value falls within the current week, the function will return false.
dateTime: The date, datetime, or datetimezone value that needs to be examined.
weeks: The specified number of weeks to consider.