Re: [fpc-pascal] strtodate on linux

2010-05-23 Thread Vannus
cheers - worked a treat :) On 21 May 2010 04:50, ABorka wrote: > I had a problem like this before. > If memory serves right, I had to set all four of these for StrToDate to > work under Linux after moving some code from Windows: > >LongTimeFormat := 'hh:mm:ss'; >ShortDateFormat := '/

Re: [fpc-pascal] strtodate on linux

2010-05-20 Thread ABorka
I had a problem like this before. If memory serves right, I had to set all four of these for StrToDate to work under Linux after moving some code from Windows: LongTimeFormat := 'hh:mm:ss'; ShortDateFormat := '/MM/DD'; DateSeparator := '/'; TimeSeparator := ':'; AB On 5/2

[fpc-pascal] strtodate on linux

2010-05-20 Thread Vannus
I've used strtodate to convert 01/02/2010 on windows ok, but it fails with 'Invalid date format' on linux. anyone got any ideas why this happens? - V ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinf