HNAME is supposed to return the two-digit month code when you request the month and it returns the month's text name instead. It's been wrong for years, it's time that someone fixes it so that it works the way it's spec'd in the documentation.
I've never used HNAME, but you are right, it return "MA" for May instead of '05'.
Have you tried opening a problem report with IBI?
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
No, I just work around it with A8YYMD and move on. If I open a ticket they're going to want sample code and I bill by the hour so it's not terribly appropriate to use the time that way.
A8YYMD is a two-step process and not as intuitive to the people that will follow me and maintain my code. This should just work the right way in the first place.
|Powered by Social Strata|