| View previous topic :: View next topic |
| Author |
Message |
JRoza Contributor


Joined: 17 Aug 2003 Posts: 182 Location: Netherlands
|
Posted: Tue Aug 11, 2009 10:38 pm Post subject: @FILE and File or folder creation date |
|
|
Using the @FILE function with the pseudo attribute T will return the date of the folder or file. I noted however that the date it returns is the modified date. What I need is the creation date of the file or folder.
Does anyone know how to get the creation date of a file or folder in vds?
Jan |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Aug 12, 2009 8:56 am Post subject: |
|
|
As far as I remember the latest version of my TimeDate.DLL has the ability to get creation time, last access,
and last write of a file.
This version hasn't been publicly released yet but you can have it if you want.
BTW, I don't presently remember if the function will handle directories as well.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
JRoza Contributor


Joined: 17 Aug 2003 Posts: 182 Location: Netherlands
|
Posted: Wed Aug 12, 2009 11:26 am Post subject: |
|
|
Thanks Dread!
I completely forgot about that function in your TimeDate.dll.
(I have version 1.8.0)
Unfortunately it only supports files and I need it for folders.
One more thing about this function:
Even after having set OPTION DECIMALSEP,"." the function @timedate(GetFileDT,FileName) still returns a value with a comma in it instead of a point.
Jan |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Aug 12, 2009 1:29 pm Post subject: |
|
|
Hi there, Jan
You can tell the DLL which separator to use:
@timedate(SetDecSep, [new local decimal separator of the DLL])
You will need the new version 1.9 of the DLL to obtain creation date etc. and to work with directories.
Stay tuned - I will post the new release now
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Aug 12, 2009 1:45 pm Post subject: |
|
|
That's it: version 1.9 has been released on www.vdsworld.com.
News:
* DLL built with a newer Delphi version.
* Internal operation of a couple of functions tweaked a bit.
* Function GetFileDT expanded to obtain also LastAccess and Creation time.
* Function GetFileDT should also work with directories
* Help file supplied in HTML help format
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
JRoza Contributor


Joined: 17 Aug 2003 Posts: 182 Location: Netherlands
|
Posted: Wed Aug 12, 2009 6:35 pm Post subject: |
|
|
Dear Dr. you're the greatest!
This is first class service ......... a new version on request in just a day.
Now who else can do that?
Gonna use the new dll tomorrow at work but knowing the quality of your dll's I'm sure it's going to be just perfect.
Jan |
|
| Back to top |
|
 |
JRoza Contributor


Joined: 17 Aug 2003 Posts: 182 Location: Netherlands
|
Posted: Thu Aug 13, 2009 9:30 am Post subject: |
|
|
Tested the new dll and - as I expected - it works like a charm.
Thanks again for the quick service.
Jan |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Aug 13, 2009 9:52 am Post subject: |
|
|
Hi there!
Thanx for the nice comments.
I'm glad that it worked out
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Tue Sep 08, 2009 8:36 am Post subject: |
|
|
Jumbo thanks from me also.. been needing this too.
Appreciate your perfection as well  |
|
| Back to top |
|
 |
|