SqlMethods.DateDiffMillisecond 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 두 날짜 사이의 경계 수(밀리초)를 계산합니다.
오버로드
| Name | Description |
|---|---|
| DateDiffMillisecond(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) |
두 null 허용 날짜 사이의 경계 수를 밀리초 단위로 계산합니다. |
| DateDiffMillisecond(DateTime, DateTime) |
null을 허용하지 않는 두 날짜 사이의 경계 수(밀리초)를 계산합니다. |
| DateDiffMillisecond(DateTimeOffset, DateTimeOffset) |
null을 허용하지 않는 두 날짜 사이의 경계 수(밀리초)를 계산합니다. |
| DateDiffMillisecond(Nullable<DateTime>, Nullable<DateTime>) |
두 null 허용 날짜 사이의 경계 수를 밀리초 단위로 계산합니다. |
설명
millisecond 사용하여 교차된 시간 경계 유형을 지정하는 SQL Server DATEDIFF 함수에 해당합니다. 이 SQL Server 함수에 대한 자세한 내용은 DATEDIFF 참조하세요.
DateDiffMillisecond(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)
두 null 허용 날짜 사이의 경계 수를 밀리초 단위로 계산합니다.
public:
static Nullable<int> DateDiffMillisecond(Nullable<DateTimeOffset> startDate, Nullable<DateTimeOffset> endDate);
public static int? DateDiffMillisecond(DateTimeOffset? startDate, DateTimeOffset? endDate);
static member DateDiffMillisecond : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Nullable<int>
Public Shared Function DateDiffMillisecond (startDate As Nullable(Of DateTimeOffset), endDate As Nullable(Of DateTimeOffset)) As Nullable(Of Integer)
매개 변수
- startDate
- Nullable<DateTimeOffset>
기간의 시작 날짜입니다.
- endDate
- Nullable<DateTimeOffset>
기간의 종료 날짜입니다.
반품
두 매개 변수가 모두 없는 null경우 지정된 두 날짜 사이의 경계 수를 밀리초 단위로 반환합니다. 하나 또는 두 매개 변수가 모두 있으면 null값을 반환합니다 null .
설명
millisecond 사용하여 교차된 시간 경계 유형을 지정하는 SQL Server DATEDIFF 함수에 해당합니다. 이 SQL Server 함수에 대한 자세한 내용은 DATEDIFF 참조하세요.
적용 대상
DateDiffMillisecond(DateTime, DateTime)
null을 허용하지 않는 두 날짜 사이의 경계 수(밀리초)를 계산합니다.
public:
static int DateDiffMillisecond(DateTime startDate, DateTime endDate);
public static int DateDiffMillisecond(DateTime startDate, DateTime endDate);
static member DateDiffMillisecond : DateTime * DateTime -> int
Public Shared Function DateDiffMillisecond (startDate As DateTime, endDate As DateTime) As Integer
매개 변수
- startDate
- DateTime
기간의 시작 날짜입니다.
- endDate
- DateTime
기간의 종료 날짜입니다.
반품
지정된 두 날짜 사이의 경계(밀리초)입니다.
설명
millisecond 사용하여 교차된 시간 경계 유형을 지정하는 SQL Server DATEDIFF 함수에 해당합니다. 이 SQL Server 함수에 대한 자세한 내용은 DATEDIFF 참조하세요.
적용 대상
DateDiffMillisecond(DateTimeOffset, DateTimeOffset)
null을 허용하지 않는 두 날짜 사이의 경계 수(밀리초)를 계산합니다.
public:
static int DateDiffMillisecond(DateTimeOffset startDate, DateTimeOffset endDate);
public static int DateDiffMillisecond(DateTimeOffset startDate, DateTimeOffset endDate);
static member DateDiffMillisecond : DateTimeOffset * DateTimeOffset -> int
Public Shared Function DateDiffMillisecond (startDate As DateTimeOffset, endDate As DateTimeOffset) As Integer
매개 변수
- startDate
- DateTimeOffset
기간의 시작 날짜입니다.
- endDate
- DateTimeOffset
기간의 종료 날짜입니다.
반품
지정된 두 날짜 사이의 경계(밀리초)입니다.
설명
millisecond 사용하여 교차된 시간 경계 유형을 지정하는 SQL Server DATEDIFF 함수에 해당합니다. 이 SQL Server 함수에 대한 자세한 내용은 DATEDIFF 참조하세요.
적용 대상
DateDiffMillisecond(Nullable<DateTime>, Nullable<DateTime>)
두 null 허용 날짜 사이의 경계 수를 밀리초 단위로 계산합니다.
public:
static Nullable<int> DateDiffMillisecond(Nullable<DateTime> startDate, Nullable<DateTime> endDate);
public static int? DateDiffMillisecond(DateTime? startDate, DateTime? endDate);
static member DateDiffMillisecond : Nullable<DateTime> * Nullable<DateTime> -> Nullable<int>
Public Shared Function DateDiffMillisecond (startDate As Nullable(Of DateTime), endDate As Nullable(Of DateTime)) As Nullable(Of Integer)
매개 변수
반품
두 매개 변수가 모두 없는 null경우 지정된 두 날짜 사이의 경계 수를 밀리초 단위로 반환합니다. 하나 또는 두 매개 변수가 모두 있으면 null값을 반환합니다 null .
설명
millisecond 사용하여 교차된 시간 경계 유형을 지정하는 SQL Server DATEDIFF 함수에 해당합니다. 이 SQL Server 함수에 대한 자세한 내용은 DATEDIFF 참조하세요.