
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> dflarchivedateget()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DflArchiveDateGet()
------------------------------------------------------------------------------
Purpose:
Get the date a deleted file was last archived.
Syntax:
lpszDate = DflArchiveDateGet()
Parameters:
None.
Returns:
A character string of length 8 (see Notes).
The CA-Clipper name for this function is:
DflArcDteGet()
Description:
DflArchiveDateGet() returns the date the last deleted file returned by
the function DirDeletedFileList() was archived.
DflArchiveDateGet() can only be called after DirDeletedFileList() returns a
valid file name.
Example:
// To list the deleted files in directory SYS:DATA\WP, the
// date and time they were last archived and the user that last archived
// them:
lpszfilename = DirDeletedFileList( "SYS:DATA\WP" )
? "Deleted files in directory SYS:DATA\WP"
? "File name | Date Archived | Time Archived | Archiver"
do while ( !empty( lpszfilename ) )
? lpszfilename+" " + DflArchiveDateGet() +" " ;
+ DflArchiveTimeGet() ;
+ " "+UsrNameGet( DflArchiveIDGet() )
lpszfilename = DirDeletedFileList( "" )
enddo
Notes:
This function only works with NetWare 386 and appropriate trustee
access rights are required.
The format of the date values is the ANSI style "yyyymmdd" except with
CA-Clipper and CA-Visual Objects where the date values are of type DATE.
See Also: DirDeletedFileList() DflArchiveIDGet() DflArchiveTimeGet()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson