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. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal