61 references to Date
mscorlib (13)
system\datetime.cs (1)
1264
return DateTime.Now.
Date
;
system\datetimeoffset.cs (1)
227
return ClockDateTime.
Date
;
system\runtime\remoting\soapinteroptypes.cs (2)
476
DateTime _value = DateTime.MinValue.
Date
;
525
set {_value = value.
Date
;}
system\timezoneinfo.cs (9)
1099
AdjustmentRule rule = CreateAdjustmentRuleFromTimeZoneInformation(regZone, DateTime.MinValue.
Date
, DateTime.MaxValue.
Date
, zone.Bias);
1283
DateTime date = dateTime.
Date
;
2322
defaultTimeZoneInformation, DateTime.MinValue.
Date
, DateTime.MaxValue.
Date
, defaultBaseUtcOffset);
2362
AdjustmentRule rule = CreateAdjustmentRuleFromTimeZoneInformation(dtzi, DateTime.MinValue.
Date
, DateTime.MaxValue.
Date
, defaultBaseUtcOffset);
2380
DateTime.MinValue.
Date
, // MinValue
2414
DateTime.MaxValue.
Date
, // MaxValue
PresentationFramework (3)
src\Framework\System\Windows\Controls\Calendar.cs (1)
1000
DateTime d = date.Value.
Date
;
src\Framework\System\Windows\Controls\DateTimeHelper.cs (2)
97
return d.Value.
Date
;
273
result = date.Value.
Date
.ToString(format.LongDatePattern, format);
System.Data (2)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
2436
SetDateTime_Unchecked(sink, setters, ordinal, ((SqlDbType.Date == metaData.SqlDbType) ? value.
Date
: value));
fx\src\data\System\Data\Sql\SqlMetaData.cs (1)
787
return value.
Date
;
System.Data.Linq (2)
SqlClient\SqlMethods.cs (2)
138
TimeSpan diff = endDate.
Date
- startDate.
Date
;
System.Web (6)
UI\WebControls\Calendar.cs (2)
723
ViewState["TodaysDate"] = value.
Date
;
759
ViewState["VisibleDate"] = value.
Date
;
UI\WebControls\SelectedDatesCollection.cs (4)
54
if (!FindIndex(date.
Date
, out index)) {
55
dateList.Insert(index, date.
Date
);
74
return FindIndex(date.
Date
, out index);
152
if (FindIndex(date.
Date
, out index)) {
System.Web.DataVisualization (7)
Common\DataManager\DataSeries.cs (6)
996
DateTime[] dateValues = { DateTime.Now.
Date
, DateTime.Now.
Date
.AddDays(1), DateTime.Now.
Date
.AddDays(2), DateTime.Now.
Date
.AddDays(3), DateTime.Now.
Date
.AddDays(4), DateTime.Now.
Date
.AddDays(4) };
Common\General\Chart.cs (1)
876
yValuesObj[i] = (((Series)seriesList[0]).IsYValueDateTime()) ? DateTime.Now.
Date
.ToOADate() : 0.0;
System.Windows.Forms (21)
winforms\Managed\System\WinForms\MonthCalendar.cs (11)
135
private DateTime todayDate = DateTime.Now.
Date
;
702
return DateTime.Now.
Date
;
1061
return DateTimePicker.SysTimeToDateTime(st).
Date
;
1063
else return Now.
Date
;
1078
todayDate = value.
Date
;
1808
if (DateTime.Compare( ((DateTime)arrayOfDates[i]).
Date
, date.
Date
) == 0) {
2691
if (System.DateTime.Equals(calendar.SelectionStart.
Date
, calendar.SelectionEnd.
Date
)) {
2728
if (System.DateTime.Equals(calendar.SelectionStart.
Date
, calendar.SelectionEnd.
Date
)) {
winforms\Managed\System\WinForms\SelectionRange.cs (8)
32
private DateTime start = DateTime.MinValue.
Date
;
38
private DateTime end = DateTime.MaxValue.
Date
;
59
start = lower.
Date
;
60
end = upper.
Date
;
63
start = upper.
Date
;
64
end = lower.
Date
;
86
end = value.
Date
;
99
start = value.
Date
;
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (2)
63
return new SelectionRange(DateTime.Now.
Date
, DateTime.Now.
Date
);
System.Windows.Forms.DataVisualization (7)
Common\DataManager\DataSeries.cs (6)
996
DateTime[] dateValues = { DateTime.Now.
Date
, DateTime.Now.
Date
.AddDays(1), DateTime.Now.
Date
.AddDays(2), DateTime.Now.
Date
.AddDays(3), DateTime.Now.
Date
.AddDays(4), DateTime.Now.
Date
.AddDays(4) };
Common\General\Chart.cs (1)
876
yValuesObj[i] = (((Series)seriesList[0]).IsYValueDateTime()) ? DateTime.Now.
Date
.ToOADate() : 0.0;