Trouble understanding how to use TDateTime / FormatString in C++ builder

Sparksandall used Ask the Experts™
Hi all,

I'm having difficulty understanding how I can show the date and time as a label caption (or 2). I know this is probably a very simple exercise but I'm still learning how to use Borland C++ builder and I've spent hours trying different things without success. I'm trying to use TDateTime with FormatString

I'd like to show the date and time as follows:

Monday 05 June 2012            00:00:00 am/pm

Can anybody help me?

Thank you
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2012
Take a loot at which quite comprehensively expains a the aspects of TDateTime, incuding code sampes.


Wow!! I thought I'd found every article out there but this one has really helped me

Thanks for your help

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial