[lazarus] FormatDateTime()

Tony Maro tony at maro.net
Wed Mar 26 22:08:28 EST 2003


Can anyone help me figure out why:
FormatDateTime('MM/DD/YYYY', ThisDate)
always results in something looking like:
MM-DD-YYYY

It replaces my chosen slash with a dash.  

That's fine for you foreigner's, but us warmongering Americans like
slashes in our dates. ;-)

I know it's an FPC and not a Lazarus question, just wondering if someone
knows an easy workaround.  So far I'm having to manual separate out a
date and reconstruct it myself to get what I want.

-- 
Tony Maro
tony at maro.net
http://tony.maro.net/

Check out my software "CheckBook Tracker"
A GPL (free) replacement for Microsoft Money!






More information about the Lazarus mailing list