************ WinBatch+Compiler 2026C Release ************

Started by td, March 30, 2026, 08:38:01 AM

Previous topic - Next topic

td


WinBatch, WebBatch, and WinBatch+Compiler 2026C are now available for download.

Users with a current license may download the latest version of the software from the download page.

https://www.winbatch.com/download.html - use the "Click here to download WinBatch+Compiler" link.

If you do not have a current license and are interested in this and future releases, please visit our software purchase page. You can easily order online at

https://commerce.winbatch.com

WB 2026C 2026 Mar 27, 2026 

DLL 6.26czc First appearing in WB 2026C

  Addressed issue involving the ForEach...By list-processing statement block consuming excessive
  amounts of string memory. The problem could result in the error 3096, "Memory allocation
  failure.  Out of memory for strings" when processing very large item-lists.
 
  Addressed a namespace collision in the WIL DLL that caused scripts using the TimeZoneConvert
  and TimeZoneList functions to abruptly abort.   

  New function:
    TimeToYmdhms(s:datetime, s:format)
      Returns the WIL YMDHMS date-time using the format and the supplied date-time.
      datetime: a date and/or time string in some format.
      format: String indicates the data and/or time format of the datetime parameter.
        Format    Used For                    Description
          d      Day        The day as a number from 1 to 31
          M      Months    A numeric month from 1 to 12
        MMM      Months    A short name of the month, such as Jan, Feb, Mar, etc.
        MMMM      Months    A complete name of the month, such as January, etc.
          y      Years      A one or two digits for the year, as 0/00 for 2000 or 0/03 for 2003
        yyy      Years      A numeric year with 3 or 4 digits
          h      Hours      A one or two digit hour; 12-hour clock
          H      Hours      A one or two digit hour; 24-hour clock
          m      Minutes    One or two digit minutes
          s      Seconds    One or two digit seconds
          t      Time Mark  Two-character abbreviation (for example, AM or PM)
          w      Skip      Ignore characters in the datetime parameter from the current
                              parsing location to the next white-space.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

JTaylor

Thanks.


Also, I would suggest clarifying the Help on the TimeToYmdHms() function. I assume from the name that it gives you the difference in time from now to the listed date?   Other than the name the help doesn't really say what it does.

Thanks again, for the fix but also the new function.  Assuming I understand what it does, it will be useful.

Jim

td

It is a time parser and nothing more. It returns a time string in WIL YMDHMS format. That is why the HTML help states, "Returns YMDHMS date/time using the provided time and format strings."

This is a simple convenience function requested by several users over the years. Some find ObjectType too limiting because it does not support unconventional formats.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

spl

Quote from: td on March 30, 2026, 10:02:42 AMIt is a time parser and nothing more. It returns a time string in WIL YMDHMS format. That is why the HTML help states, "Returns YMDHMS date/time using the provided time and format strings."

This is a simple convenience function requested by several users over the years. Some find ObjectType too limiting because it does not support unconventional formats.

So, it is similar to CLR System.Datetime (has multiple display options)
Stan - formerly stanl [ex-Pundit]

JTaylor

Okay. That makes sense.  Still a little more in the Help would help dunces like me.  Plus, I think that is one more thing I can drop from one of my Extenders :-)

jim


Quote from: td on March 30, 2026, 10:02:42 AMIt is a time parser and nothing more. It returns a time string in WIL YMDHMS format. That is why the HTML help states, "Returns YMDHMS date/time using the provided time and format strings."

This is a simple convenience function requested by several users over the years. Some find ObjectType too limiting because it does not support unconventional formats.

SMF spam blocked by CleanTalk