Focal Point
Date in HYYMDI format

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2511077331

February 04, 2004, 03:53 PM
focusqueen
Date in HYYMDI format
I have a field that I'm dealing with that is a date in HYYMDI format. I'm trying to get it to display on an html page, but it is causing weird things to happen and the screen to mess up. Does anyone know how to change this format? I can change it from HYYMDI to HMDYY just fine. But that still causes the screen to mess up. I think I need to get rid of the H, but I'm not sure how. I've tried using the CHGDAT function with no success too. Thanks for your help.
February 04, 2004, 04:46 PM
susannah
try the HCNVRT function;
I use it in a routine as follows:
FOCUSDATE/HYYMDIA = HADD(FOCUSDATE,'HOUR',&OFFSETHOURS,8,FOCUSDATE);
-* printable and downloadable form
AFOCUSDATE/A20 = HCNVRT(FOCUSDATE,'(HYYMDIA)',20,'A20');
February 04, 2004, 06:52 PM
focusqueen
Thank you. That worked great!!!