FileCompressedDate Property

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

Syntax

public long FileCompressedDate { get; }
Public ReadOnly Property FileCompressedDate As Long

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.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks ZIP 2020 .NET Edition - Version 20.0 [Build 7720]