• filestat

    From Enrico Maria Giordano@21:1/5 to All on Wed May 5 15:21:52 2021
    Il 05/05/2021 14:49, Marco Boschi ha scritto:

    Hi,
    FileStats function does not return correct data in my opinion.

    filediprova.txt = 05/05/21 14:22:51 05/05/21 14:22:51
    05/05/21
    14:23:19 << this is correct

    I just tried with a file and got the correct result. Please, can you
    send me your file so I can test it here?

    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Boschi@21:1/5 to All on Wed May 5 05:49:16 2021
    Hi,
    FileStats function does not return correct data in my opinion.

    filediprova.txt = 05/05/21 14:22:51 05/05/21 14:22:51
    05/05/21
    14:23:19 << this is correct

    FUNCTION MAIN( cFileName )
    LOCAL cFileAttr
    LOCAL nFileSize
    LOCAL dCreateDate
    LOCAL nCreateTime
    LOCAL dChangeDate
    LOCAL nChangeTime

    FileStats( cFileName , ;
    @cFileAttr , ;
    @nFileSize , ;
    @dCreateDate , ;
    @nCreateTime , ;
    @dChangeDate , ;
    @nChangeTime )

    ? cFilename , "=" , dCreateDate , tstring( nCreateTime ) , ;
    dChangeDate , tstring( nChangeTime )

    ? filedate( cFilename )
    ? filetime( cFilename )
    RETURN NIL

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed May 5 15:48:34 2021
    Il 05/05/2021 15:42, Marco Boschi ha scritto:

    Enrico I've just sent by mail

    Unfortunately, the file gets the current date and time when I save it
    from the email attachment. I played with it a little and found no
    problem using your sample.

    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Boschi@21:1/5 to All on Wed May 5 06:42:46 2021
    Il giorno mercoledì 5 maggio 2021 alle 15:21:57 UTC+2 Enrico Maria Giordano ha scritto:
    Il 05/05/2021 14:49, Marco Boschi ha scritto:

    Hi,
    FileStats function does not return correct data in my opinion.

    filediprova.txt = 05/05/21 14:22:51 05/05/21 14:22:51
    05/05/21
    14:23:19 << this is correct
    I just tried with a file and got the correct result. Please, can you
    send me your file so I can test it here?

    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    Enrico I've just sent by mail

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Boschi@21:1/5 to All on Wed May 5 06:50:24 2021
    Il giorno mercoledì 5 maggio 2021 alle 15:48:39 UTC+2 Enrico Maria Giordano ha scritto:
    Il 05/05/2021 15:42, Marco Boschi ha scritto:

    Enrico I've just sent by mail
    Unfortunately, the file gets the current date and time when I save it
    from the email attachment. I played with it a little and found no
    problem using your sample.
    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    probably is the old version I currentyl use (2016)
    many thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed May 5 15:57:50 2021
    Il 05/05/2021 15:50, Marco Boschi ha scritto:

    probably is the old version I currentyl use (2016)

    It maybe. Can you test with the latest xHarbour build?

    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Boschi@21:1/5 to All on Wed May 5 07:00:37 2021
    Il giorno mercoledì 5 maggio 2021 alle 15:57:54 UTC+2 Enrico Maria Giordano ha scritto:
    Il 05/05/2021 15:50, Marco Boschi ha scritto:

    probably is the old version I currentyl use (2016)
    It maybe. Can you test with the latest xHarbour build?
    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    in the next few days many thanks Enrico

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)