Big data connection datasets have a time property that defines the time type, time formatting, and time zone for your dataset.
The following are some examples of when you should update your time information:
- To change the time from one type to another, such as, from an instant to an interval
- To remove time from a dataset
- To change the formatting of the time fields
- To add additional fields to represent the time
Time property details
There are three components of the time properties that are required if there is time in your dataset:
- Time type—A required property if there is time included in the dataset. Options include an instant, a single moment in time, or an interval, which has a start and end time.
- Time reference—A required property if the dataset is time enabled, denoting the time zone.
- Fields—A required field that denotes the field names and formats of the time.
If there is no time in your dataset, you can set the time as none.
Time zones are based on Joda-Time. To learn about Joda-Time formats, see Joda-Time Available Time Zones. You can format the time zone in the following ways:
- The full name of the time zone: Pacific Standard Time
- The time zone offset expressed in hours: -0100 or -01:00
- The UTC or GMT abbreviation
There is flexibility in how to set time fields and formats. In addition to setting a single field and format, you can also do the following:
- Set multiple formats for the same field. Do this by creating a new entry for the field and specifying the additional format. This is useful when formats have changed during data collection.
- Use multiple fields to specify the complete date and time. For example, you can use a field called Date for the format and a field called Time with the format. These two fields will be used together to represent time.
The following table outlines how to specify time formats for the Start Time and End Time parameters when you edit a BDC dataset. The examples show how to represent the time January 2, 2016, at 9:45:02.05 PM.
Time formats in big data connections
The year, represented by two digits.
The year, represented by four digits.
The month, represented numerically.
01 or 1
The month, represented using three letters.
The month, represented using the complete spelling.
02 or 2
The hour when using a 24-hour day; values range from 0-23.
The hour when using a 12-hour day; values range from 1-12.
The minute; values range from 0-59.
The second; values range from 0-59.
The millisecond; values range from 0-999.
The AM/PM marker.
The time in milliseconds from epoch.
The time in seconds from epoch.
The time zone offset expressed in hours.
-0100 or -01:00
The time zone offset expressed using IDs.
Use single quotes to add text that doesn't represent a value outlined in this table.
The following table shows examples for different formats of the same date, January 2, 2016, at 9:45:02.05 PM:
Time format examples
|Input date||Date format|
January 02 2016 9:45:02.050PM
MMMM dd yyyy hh:mm:ss.SSSa