Click or drag to resize

GetUserTimeOffRequestModelStartDateTimeSchema Property

The start date-time of the current user time-off as a specified pattern

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public string StartDateTimeSchema { get; set; }

Property Value

String
Remarks
The start date time of the current user time-off as a specified pattern. This value represents the end of a users assigned time-off period. This value will always return a String type. The output type will be based on the DateTimeSchema enum type.

Caution note  Caution
If the UnixTime enum type is provided to the DateTimeSchema then the result date time value is returned with the users TimeZoneKey applied to the result.

Example:
In Database value is: 2016-03-25T08:00:00
UsersTimeZone is: UTC-0500 Easter Time
Epoch for 8am EST is: 1458907200

See on-line tool: http://www.epochconverter.com
Example

Date Time Scheme Types

TypeOutput Example
(0) ISO8601Sort2016-03-21T09:00:00
(1) ISO86012016-03-21T09:00:00.0000000
(2) RFC1123Mon, 21 Mar 2016 09:00:00 GMT
(3) UnixTime1458586800
(4) UnixTimeUTC1458586800
Note  Note
For SOAP calls use the literal string value (ISO8601Sort, ISO8601, RFC1123, UnixTime, UnixTimeUTC). For REST calls use the enum int value (0,1,2,3,4).
See Also