Nutangujar
750 pts. | Oct 27 2009 4:54PM GMT
yippee
i think i got the answer…in the time field instead of ‘:’ i shud use ‘.’
silly mistake….
thanks guys…
Satsho
1235 pts. | Oct 27 2009 7:44PM GMT
You can always use the Convert Date and Time Format (QWCCVTDT) API
TomLiotta
7990 pts. | Oct 27 2009 8:32PM GMT
IMO — Note that the date/time format for the program should be set explicitly. The default is generally *ISO, but could be changed. If the DATFMT() control spec is explicit, your program code can then be able to use the same date/time separators under all circumstances. Choose a standard format for handling inside the program. Be aware that system and job formats might change at any time. With a program format set, conversions can always be standardized in code.
Tom






