AW: Date of a file
Rudolf Bargholz
rudolf at bargholz.ch
Mon Aug 31 05:01:30 EDT 2020
Hi Martin,
As Paul mentions, the return value of the command is a row variable with a column per data value you specified in the parameters. Perhaps your i_Day variable is of the wrong type.
Regards
Rudolf
-----Ursprüngliche Nachricht-----
Von: Martin Luce [mailto:martinluce at eclipse.co.uk]
Gesendet: Montag, 31. August 2020 10:44
An: Rudolf Bargholz <rudolf at bargholz.ch>
Cc: Omnis List <omnisdev-en at lists.omnis-dev.com>
Betreff: Re: Date of a file
Thanks Rudolf
I just have tried
Calculate L_Filepath as con(lDriveName,lPathname,lFileName,lExtension)
then
Do FileOps.$getfileinfo(L_Filepath,kFileOpsInfoCreated) Returns i_Day
and
Do FileOps.$getfileinfo(L_Filepath,kFileOpsInfoModified) Returns i_Day
Unfortunately neither return anything by way of text or date despite being on a mac
Kind regards
Martin
> On 30 Aug 2020, at 20:13, Rudolf Bargholz <rudolf at bargholz.ch> wrote:
>
> Hi Martin,
>
> Have a look at the $fileinfo command of the FileOps. These can return most of the date information related to the file, like the creation date and modification date.
>
> Regards
>
> Rudolf Bargholz
>
> -----Ursprüngliche Nachricht-----
> Von: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] Im Auftrag von Martin Luce via omnisdev-en
> Gesendet: Sonntag, 30. August 2020 18:51
> An: Omnis List <omnisdev-en at lists.omnis-dev.com>
> Cc: Martin Luce <martinluce at eclipse.co.uk>
> Betreff: Date of a file
>
> Hi
>
> Having selected a file .csv and processed the information from it, I would like to be able to add to the information the date of that file. Problem is that I cannot see in 8.1.7.c using .df1 data file on a Mac, how to get the date of the .csv file.
>
> Is it possible?
>
> Martin
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list