PackageDigitalSignatureManager.TimeFormat Property
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 or sets the date/time format used to create a signature SigningTime.
public:
property System::String ^ TimeFormat { System::String ^ get(); void set(System::String ^ value); };
public string TimeFormat { get; set; }
member this.TimeFormat : string with get, set
Public Property TimeFormat As String
The date/time format used to create a signature SigningTime.
The default TimeFormat is "YYYY-MM-DDThh:mm:ss.sTZD".
Date/time formats follow the syntax of the W3C Date and Time Formats specification. The components shown in the following table must be present and use the syntax and punctuation as defined.
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 |
Key:
Symbol | Description |
---|---|
YYYY | four-digit year (for example 2005) |
MM | two-digit month (01=January) |
DD | two-digit day of month (01 through 31) |
hh | 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) |
Vara | Útgáfur |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET umsögn
.NET er opið verkefni. Veldu tengil til að gefa umsögn: