View VMD_Time

Card of view VMD_Time

Name

VMD_Time

Comment

See documentation on MD_Time in DimsTime package.

Dimensional Type

Dimension


SQL query of the view VMD_Time

select
MD_Time_TimeInteger,
MD_Time_HH24_MM_SS,
MD_Time_HH24_MM,
MD_Time_HH12_MM_SS_AMPM,
MD_Time_HH12_MM_AMPM,
MD_Time_HourOfDay24,
MD_Time_HourOfDay12,
MD_Time_Minute,
MD_Time_Second,
MD_Time_SecondsSinceMidnight,
MD_Time_AMPM
from
MD_Time


List of incoming view references of the view VMD_Time

Name

Child Table/View

ViewReference_84

VMF_SurveyCellData

ViewReference_107

VMF_IssueTrackingTicket

ViewReference_107

VMF_IssueTrackingTicket

ViewReference_133

VMF_Booking

ViewReference_141

VMF_RoomUtilization

ViewReference_215

VMF_CardTransaction

ViewReference_232

VMF_KeyedComputerEvent


List of shortcuts of the view VMD_Time

Name

Code

Type

Target Package

VMD_Time

VMD_TIME

View

ViewsSurvey

VMD_Time

VMD_TIME

View

ViewsSurvey

VMD_Time

VMD_TIME

View

ViewsSurvey

VMD_Time

VMD_TIME

View

ViewsSurvey


List of diagrams containing the view VMD_Time

Name

ViewsIssueTrackingDiagram

ViewsSurveyDiagram


List of permissions of the view VMD_Time

Grant

User

SELECT,VIEW DEFINITION

CardAccessReader

SELECT,VIEW DEFINITION

CardAccessReader

SELECT,VIEW DEFINITION

EnergyReader

SELECT,VIEW DEFINITION

EnergyReader

SELECT,VIEW DEFINITION

IssueTrackingReader

SELECT,VIEW DEFINITION

IssueTrackingReader

SELECT,VIEW DEFINITION

SpaceReader

SELECT,VIEW DEFINITION

SpaceReader

SELECT,VIEW DEFINITION

SurveyReader

SELECT,VIEW DEFINITION

SurveyReader


List of view columns of the view VMD_Time

Name

Data Type

Comment

Length

MD_Time_TimeInteger

int

Integer representing the time of day in the format HHMMSS (e.g., 23:01:01 at one minute one second after eleven o'clock in the evening). Not typically used for reporting.

Unlike MD_Date_Dateinteger (in MD_Date), this integer is not really human-readable, because it's not set up for base-10. Rather, it's calculated using the formula: (hour << 16) Or (min << 8) Or (sec), where the Or's are logical, and the << operator is a binary left shift. In T-SQL, this is (hour * POWER(2, 16)) + (minute * POWER(2, 8)) + second.

 

MD_Time_HH24:MM:SS

char(8)

Full time of day, with seconds, in military/24-hour format (e.g., 13:00:00 = 1 pm). Padded with spaces on the left to eight characters to faciliate sorting.

8

MD_Time_HH24:MM

char(5)

Time of day in military/24-hour format (e.g., 13:00 = 1 pm). No seconds (or milliseconds). Padded with spaces on the left to five characters to faciliate sorting.

5

MD_Time_HH12:MM:SS_AMPM

char(11)

Time of day in 12-hour am/pm format. Includes seconds (e.g., 1:00:00 pm = thirteen hundred hours). Padded with spaces on the left to eleven characters, to facilitate sorting.

11

MD_Time_HH12:MM_AMPM

char(8)

Time of day in 12-hour am/pm format. Does not include seconds (e.g., 1:00 pm = thirteen hundred hours). Padded with spaces on the left to eight characters, to facilitate sorting.

8

MD_Time_HourOfDay24

int

Hour of day, 0-23.

 

MD_Time_HourOfDay12

int

Hour of day, by twelve-hour clock (0-11).

 

MD_Time_Minute

int

Minute of hour, 0 - 59.

 

MD_Time_Second

int

Second of hour, 0 - 59.

 

MD_Time_SecondsSinceMidnight

int

Number of seconds elapsed since midnight (0 - 86399).

 

MD_Time_ampm

char(2)

Value will be "am" or "pm" depending on whether the time in question occurs before or after 12:00 noon.

2

MD_Time_TimeInteger

int

Integer representing the time of day in the format HHMMSS (e.g., 23:01:01 at one minute one second after eleven o'clock in the evening). Not typically used for reporting.

Unlike MD_Date_Dateinteger (in MD_Date), this integer is not really human-readable, because it's not set up for base-10. Rather, it's calculated using the formula: (hour << 16) Or (min << 8) Or (sec), where the Or's are logical, and the << operator is a binary left shift. In T-SQL, this is (hour * POWER(2, 16)) + (minute * POWER(2, 8)) + second.

 

MD_Time_HH24:MM:SS

char(8)

Full time of day, with seconds, in military/24-hour format (e.g., 13:00:00 = 1 pm). Padded with spaces on the left to eight characters to faciliate sorting.

8

MD_Time_HH24:MM

char(5)

Time of day in military/24-hour format (e.g., 13:00 = 1 pm). No seconds (or milliseconds). Padded with spaces on the left to five characters to faciliate sorting.

5

MD_Time_HH12:MM:SS_AMPM

char(11)

Time of day in 12-hour am/pm format. Includes seconds (e.g., 1:00:00 pm = thirteen hundred hours). Padded with spaces on the left to eleven characters, to facilitate sorting.

11

MD_Time_HH12:MM_AMPM

char(8)

Time of day in 12-hour am/pm format. Does not include seconds (e.g., 1:00 pm = thirteen hundred hours). Padded with spaces on the left to eight characters, to facilitate sorting.

8

MD_Time_HourOfDay24

int

Hour of day, 0-23.

 

MD_Time_HourOfDay12

int

Hour of day, by twelve-hour clock (0-11).

 

MD_Time_Minute

int

Minute of hour, 0 - 59.

 

MD_Time_Second

int

Second of hour, 0 - 59.

 

MD_Time_SecondsSinceMidnight

int

Number of seconds elapsed since midnight (0 - 86399).

 

MD_Time_ampm

char(2)

Value will be "am" or "pm" depending on whether the time in question occurs before or after 12:00 noon.

2