i have time input field in display record, , want in format hh:mm. available formats either have seconds or am/pm afterwards. following do, doesn't work since format doesn't exist.
a srttime t b 5 43timsep(':') timfmt(*hm)
is there easy way accomplish want without changing field simple character field? i'm running on v7.1.
i suggest using 4 digit numeric field edtwrd. might consider edtcde(y) datsep(':'). or take @ "user-defined" edit codes on system, named qedit5 - qedit9, dspedtd or wrkedtd command. or consider other keyboard shift codes in column 31.
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 tm1 4s 0b 3 4edtwrd('0 : ') edtmsk(' & ') tm2 4s 0b 4 4edtcde(y) datsep(':')
see dds reference
Comments
Post a Comment