Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: PJ222
  • Order by date
  1. PJ222

    is date within any date range in a dynamic array of date ranges

    Figured this out using hardcoded values as a test. local stringvar ranges :="Jan 1 2020-Apr 2 2020<br>Nov 3 2021-Dec 2 2022"; local numbervar result:=-1; local datevar checkdt := date("Jan 4 2020"); local datevar startdt ; local datevar enddt; stringvar array dates := split(ranges,"<br>")...
  2. PJ222

    is date within any date range in a dynamic array of date ranges

    Hi, I have a string containing multiple date ranges separated by <br> (number of date ranges varies for 1 to ?) I need to evaluate if a specific date is within any of the date ranges and return true if the date is in any date ranges. string ex. Jan 1 2020-Apr 2 2020<br>Nov 3 2021-Dec 2...

Part and Inventory Search

Back
Top