Crystal Reports cDate issue with year

I’m using cStr(cDate()) to convert a Datetime value to a string while preserving the Locale. All my servers return a 4 digit year in the date except 1 that returns a 2 digit year:
Example ‘02/01/2012’ vs ‘02/01/12’ is returned. All the BO preferences are set up identical. Any ideas what setting may be different on that BO server. Could it be a Linux setting, database setting? I’m at a loss.

Thanks, Bryan


btemple (BOB member since 2008-04-03)

I use Totext to format dates the way that I want Totext(,“MM/dd/yyyy”).

I hope this helps.


kevlray :us: (BOB member since 2010-06-23)