PackageDigitalSignature.TimeFormat Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the format of the date and time returned by the SigningTime property.
public:
property System::String ^ TimeFormat { System::String ^ get(); };
public string TimeFormat { get; }
member this.TimeFormat : string
Public ReadOnly Property TimeFormat As String
Property Value
The format of the date and time returned by the SigningTime property.
Exceptions
The digital Signature has been deleted.
Remarks
Date/time formats follow the syntax of the W3C Date and Time Formats note. The components shown in the following table must use the syntax and punctuation shown.
TimeFormat | Description | Example |
---|---|---|
YYYY | Year | 2005 |
YYYY-MM | Year and month | 2005-07 |
YYYY-MM-DD | Complete date | 2005-07-28 |
YYYY-MM-DDThh:mmTZD | Complete date plus hours and minutes | 2005-07-28T19:20-01:00 |
YYYY-MM-DDThh:mm:ssTZD | Complete date plus hours, minutes, and seconds | 2005-07-28T19:20:45-01:00 |
YYYY-MM-DDThh:mm:ss.sTZD | Complete date plus hours, minutes, and seconds with a decimal fraction | 2005-07-28T19:20:45.75-01:00 |
where:
YYYY | four-digit year (for example 2006) |
MM | two-digit month (01=January) |
DD | two-digit day of month (01 through 31) |
Thh | two-digit hour (00 through 23, 24-hour time) |
mm | two digits of minutes (00 through 59) |
ss | two digits of seconds (00 through 59) |
s | one or more digits representing a decimal fraction of a second |
TZD | time zone designator (Z or +hh:mm or -hh:mm) |
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.