FileCompressedDate Property

The date and time of the compressed file, as stored within the gzip archive.

Syntax

ANSI (Cross Platform)
int64 GetFileCompressedDate();

Unicode (Windows)
LONG64 GetFileCompressedDate();
@property (nonatomic,readonly,assign,getter=fileCompressedDate) long long fileCompressedDate;
- (long long)fileCompressedDate;
#define PID_GZIP_FILECOMPRESSEDDATE 5

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_Gzip_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

0

Remarks

FileCompressedDate contains the last modified date of the file, as stored within the archive (it does not generally correspond to when the file was compressed).

FileCompressedDate is returned in a platform-specific format. The Java and other editions will return the number of milliseconds since January 1, 1970, 00:00:00. This value may be passed directly to the java.util.Date constructor to create a java.util.Date object representing this date.

The .NET Edition will return the number of ticks, or 100-nanosecond intervals, since January 1, 0001, 00:00:00. This value may be passed directly to the System.DateTime constructor to create a System.DateTime object representing this date.

Reading the value of this property will return a meaningful value only after a call to Scan or Extract. If a meaningful value is not available this property will return a value of 0.

This property is read-only and not available at design time.

Data Type

Long64

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 C++ Edition - Version 20.0 [Build 8300]