Skip to Content
0
Former Member
Jun 13, 2013 at 09:20 AM

Reg:Bad date format string error

96 Views

Hi,

I am getting bad date format string while converting string to date like the below code.

if totext(Cdate({WipAllocationInfo.InWiseDate}),"MMddyyyy")<>"12301899" then

formula=totext(Cdate({WipAllocationInfo.InWiseDate}),"MM/dd/yyyy")

else

formula="/ /"

end if

Above is the basic syntax in crystal report formula editor.

Thanks,

Chakradhar.