|
of_GetCreationDate
|
|
Full name
|
pfc_n_cst_filesrv.of_GetCreationDate
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_GetCreationDate(string,ref date)
|
Name
|
Datatype
|
lt_Time
|
time
|
public function integer of_GetCreationDate (string as_filename, ref date ad_date);//////////////////////////////////////////////////////////////////////////////
// Public Function: of_GetCreationDate
// Arguments: as_FileName The name of the file for which you want its date;
// an absolute path may be specified or it will be
// relative to the current working directory
// ad_Date The date the file was created, passed by reference.
// Returns: Integer
// 1 if successful, -1 if an error occurrs.
// Description: Get the date a file was created. This is only valid for Win32.
//////////////////////////////////////////////////////////////////////////////
// Rev. History: Version
// 5.0 Initial version
//////////////////////////////////////////////////////////////////////////////
// Copyright © 1996-1999 Sybase, Inc. and its subsidiaries. All rights reserved. Any distribution of the
// PowerBuilder Foundation Classes (PFC) source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//////////////////////////////////////////////////////////////////////////////
time lt_Time
Return of_GetCreationDatetime(as_FileName, ad_Date, lt_Time)
end function