The YmdHms2Human sample function at the link below has a typo. There is one instance of "hour" that should be "xhour" (line 11 overall, 8th line of code)
Just thought I'd point that out. 👍
Article ID: W14752 - https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/UDF~-~UDS~Library/Time~UDFs+YMDHMS~to~normal~date~conversion.txt (https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/UDF~-~UDS~Library/Time~UDFs+YMDHMS~to~normal~date~conversion.txt)
If you haven't run across it and need to do stuff like this, there is now a TimeFormat() function.
Jim
That article dates back to 2004. If anything, it should be removed.