In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

File date?

Xailer professional forum in English
Responder
Maarten Roos
Mensajes: 126
Registrado: Lun Mar 29, 2010 10:24 am

File date?

Mensaje por Maarten Roos »

How do you get the file date? Clipper was FILEDATE(), but I cannot find a similar function?
Maarten
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

File date?

Mensaje por ignacio »

Maarten,
FileDate() is not a Clipper standard function I am afraid. Maybe is part of
CA-Tools. I don't know.
BTW, try this:
#include "directry.ch"
FUNCTION FileDate( cFile )
LOCAL aData := Directory( cFile, "H" )
LOCAL dDate
IF Len( aData ) > 0
dDate := aData[ 1, F_DATE ]
ENDIF
RETURN dDate
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4c860161$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> How do you get the file date? Clipper was FILEDATE(), but I
> cannot find a similar function?
>
> Maarten
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Maarten Roos
Mensajes: 126
Registrado: Lun Mar 29, 2010 10:24 am

File date?

Mensaje por Maarten Roos »

Yes, you are right... it's CA-Tools.
Thx
Responder