Hi Kees,
On 2017-11-24 12:14:26, you wrote to me:
WvV>> The most reliable way would be, to read the first line of the file
WvV>> and try to determine the date from that, before using the file date.
WvV>> (file dates can change)
KvE> That is not what you want as same number is in file suffix. But
KvE> acually there is only one case where it is needed.
I was thinking about the full date in the first line (including the year), not
just the day number!
KvE> From one source two updates are received on Wednesday, one with the
KvE> Wednesday daynumber and one with the Friday daynumber. If succesive
KvE> updates are available, on Thursdays the Friday daynumber will be
KvE> preferred when the sort is made on suffix. Sorting on c-date would
KvE> solve this.
That depends on the c-date of the file being correct. Which doesn't have to be
the case. That's why I suggested to use the full "internal" date in the file.
Bye, Wilfred.
--- FMail-lnx64 2.1.0.18-B20170815
* Origin: FMail development HQ (2:280/464)
|