[fpc-pascal] DefaultFormatSettings usage
waldo kitty
wkitty42 at windstream.net
Tue Feb 4 21:20:34 CET 2014
On 2/4/2014 8:54 AM, silvioprog wrote:
> t := StrToDate('2013-02-04 11:39:54'); // to format yyyy-mm-dd hh:nn:ss
the above is StrToDate but you are also sending the time... you would see
similar if you were sending the above string to StrToTime...
StrToDate only accepts date formats as StrToTime only accepts time formats...
if you want to send both, you have to use StrToDateTime ;)
--
NOTE: No off-list assistance is given without prior approval.
Please keep mailing list traffic on the list unless
private contact is specifically requested and granted.
More information about the fpc-pascal
mailing list