I have an app which manipulates a lot of dates (reading from a database).

It uses the Format() member function of COleDateTime extensively.

During a recent profiling session, it became apparent that a large amount of my app's time is spent in the Format() function.

Here's how I'm using it:
Code:
COleDateTime date1 = x.Format("%m/%d/%Y");
Simple, yes. But very expensive in terms of CPU time.

Does anyone have a faster way to do this?