Try using the DateTimeToStr function. Regards, GP
--- In [email protected], "tipequity" <[EMAIL PROTECTED]> wrote: > > I have the following line of code in CBI: > > trade.AddCustomMetric("Date", trade.EntryDateTime) > > How can I format it to show date in mm/dd/yyyy format? > > TIA >
