PackageDigitalSignatureManager.TimeFormat Property

Definition

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

Property Value

The date/time format used to create a signature SigningTime.

Remarks

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)

Applies to

See also