Hi,
I have a string DB filed which actually contains a datetime in the format of "mm/dd/yyyy hh:mi:ss". I’m trying to convert this string to datetime in crystal using cdatetime. the problem is that when the date is being displayed when there is a date such as 17/8/2003 it's being displayed in the format of dd/mm/yyyy (as it should be), but when the date is 7/8/2003 (august is the month) the CR displays it as 8/7/2003. how can I keep the format of "dd/mm/yyyy hh:mi:ss". I have tried using cdatetime(picture ({RAW_UDR.MRKT_PARAM3}, "mm/dd/yyyy hh:mi:ss") But I'm getting a bad date format Err.
I'm useing CR 9 on Win 2k server
I have a string DB filed which actually contains a datetime in the format of "mm/dd/yyyy hh:mi:ss". I’m trying to convert this string to datetime in crystal using cdatetime. the problem is that when the date is being displayed when there is a date such as 17/8/2003 it's being displayed in the format of dd/mm/yyyy (as it should be), but when the date is 7/8/2003 (august is the month) the CR displays it as 8/7/2003. how can I keep the format of "dd/mm/yyyy hh:mi:ss". I have tried using cdatetime(picture ({RAW_UDR.MRKT_PARAM3}, "mm/dd/yyyy hh:mi:ss") But I'm getting a bad date format Err.
I'm useing CR 9 on Win 2k server