[Lazarus] Date format conversion function?
Howard Lee Harkness
howard.lee.harkness at gmail.com
Wed Dec 21 23:52:46 CET 2011
I am using SQLite in a small application, and using TDateEdit to pick
a date. The date is returned in the Text field (I can't find a
DateTime property in this control) in the format 'mm/dd/yyyy', and to
use INSERT in SQLite, it wants dates in the format 'yyyy-mm-dd'. Yes,
I can write a reformatting function, but I would expect one to be
already available somewhere.
I'm having some trouble believing that there is no such function in
Lazarus, but I just can't find it. If somebody here knows where such a
function (or equivalent functionality in a class) may be found, please
enlighten me.
TIA!
--
Howard Lee Harkness
(214) 390-4896
More information about the Lazarus
mailing list