[This is preliminary documentation and is subject to change.]
The OCDateTime type exposes the following members.
 Constructors
Constructors
| Name | Description | |
|---|---|---|
|  | OCDateTime | 
 Methods
Methods
| Name | Description | |
|---|---|---|
|   | Convert | 
            Converts the date from one timezone to another
             | 
|   | ConvertFromTrackerUdfDate | 
            Converts the  tracker udf date to screen date format. Tracker udf date
            is always stored in MM/dd/yyyy format
             | 
|   | ConvertFromUtc | 
            Given the Date in UTC converts to the correct time in the given timezone
             | 
|   | ConvertToServerTz | 
            Converts the given date to the user datetime
             | 
|   | ConvertToTrackerUdfDate | 
            Converts the screen date to tracker udf date format. Tracker udf date
            is always stored in MM/dd/yyyy format
             | 
|   | ConvertToUserTz | Overloaded. | 
|   | ConvertToUtc | 
            Converts the given time with the timezone to UTC
             | 
|  | Equals | Determines whether the specified Object is equal to the current Object.(Inherited from Object.) | 
|  | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.(Inherited from Object.) | 
|   | GetCalendarViewName | 
            Returns the string name of the calendar view given the enumerated type
             | 
|   | GetDatePart | 
            Gets the date part of the datetime object. Actually this method resets the time part to 12:00:00AM
             | 
|   | GetDayOfMonth | Overloaded. | 
|   | GetDayOfWeekName | 
            Gets the day of the week in its string representation
             | 
|   | GetDurationColon | 
            Gets the duration in hh:mm format
             | 
|   | GetDurationDecimal | 
            Gets the duration in the format hh.mm
             | 
|  | GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.(Inherited from Object.) | 
|   | GetMinutesFromTime | 
            Extracts the number of minutes past midnight for the time string
             | 
|   | GetNumberOfDaysInMonth | 
            Gets the number of days in the month
             | 
|   | GetPeriodicityName | 
            Returns the name of the periodicity, given the enumerated type.
             | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|   | ParseApproximate | 
            Attempts to parse the date time and returns the mindate if the parse fails.
             | 
|   | ParseExact | 
            Parses the date exactly from the format. This function tests different value of culture before
            getting the date
             | 
|   | Roundup15 | 
            Round up the date in 15 minutes interval
             | 
|  | ToString | Returns a String that represents the current Object.(Inherited from Object.) | 
 Properties
Properties
| Name | Description | |
|---|---|---|
|   | DateInputLabel | 
            The date input label
             | 






