> I needed to convert a string “20251201” to the date 01-Dec-2025. The > below works: > > > > param d := str2time("20251201","%Y%m%d"); > > display time2str(d,"%F"); > > > > BUT the %Y is undocumented. The documentation (version 4.58, page 57) > for str2time refers to %y, and is explicit that this is for a year > without a century, but there is no mention of %Y in str2time format > specifiers or how to convert strings that have full-year (century > included). > > > > I recommend that on the next release the documentation adds the %Y > specifier.
Thank you for your suggestion. Description of %Y specifier is just missing for unknown reason. There should be the following statement: %Y The year as a decimal number, using the Gregorian calendar. _______________________________________________ Bug-glpk mailing list Bug-glpk@gnu.org https://lists.gnu.org/mailman/listinfo/bug-glpk