Click or drag to resize

StiFunctionsDate Methods

The StiFunctionsDate type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDateDiff(DateTime, DateTime)
Returns a number of time intervals between two specified dates.
Public methodStatic memberDateDiff(NullableDateTime, NullableDateTime)
Returns a number of time intervals between two specified dates.
Public methodStatic memberDateSerial(Int64)
Returns the DateTime value for the specified number of ticks.
Public methodStatic memberDateSerial(Int64, Int64, Int64)
Returns the DateTime value for the specified year, month, and day.
Public methodStatic memberDay(DateTime)
Returns the day from a date and returns it as a integer value.
Public methodStatic memberDay(NullableDateTime)
Returns the day from a date and returns it as a integer value.
Public methodStatic memberDayOfWeek(DateTime)
Returns the day of the week.
Public methodStatic memberDayOfWeek(NullableDateTime)
Returns the day of the week.
Public methodStatic memberDayOfWeek(DateTime, Boolean)
Returns the day of the week.
Public methodStatic memberDayOfWeek(DateTime, String)
Returns the day of the week.
Public methodStatic memberDayOfWeek(NullableDateTime, Boolean)
Returns the day of the week.
Public methodStatic memberDayOfWeek(NullableDateTime, String)
Returns the day of the week.
Public methodStatic memberDayOfWeek(DateTime, String, Boolean)
Returns the day of the week.
Public methodStatic memberDayOfWeek(NullableDateTime, String, Boolean)
Returns the day of the week.
Public methodStatic memberDayOfYear(DateTime)
Returns the day of the year.
Public methodStatic memberDayOfYear(NullableDateTime)
Returns the day of the year.
Public methodStatic memberDaysInMonth(DateTime)
Returns the number of days in the specified month and year.
Public methodStatic memberDaysInMonth(NullableDateTime)
Returns the number of days in the specified month and year.
Public methodStatic memberDaysInMonth(Int64, Int64)
Returns the number of days in the specified month and year.
Public methodStatic memberDaysInYear(DateTime)
Returns the number of days in the specified year.
Public methodStatic memberDaysInYear(Int64)
Returns the number of days in the specified year.
Public methodStatic memberDaysInYear(NullableDateTime)
Returns the number of days in the specified year.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHour(DateTime)
Returns the hour portion from a date and returns it as a integer value.
Public methodStatic memberHour(NullableDateTime)
Returns the hour portion from a date and returns it as a integer value.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMinute(DateTime)
Returns the minutes portion from a date and returns it as a integer value.
Public methodStatic memberMinute(NullableDateTime)
Returns the minutes portion from a date and returns it as a integer value.
Public methodStatic memberMonth(DateTime)
Returns the month from a date and returns it as a integer value.
Public methodStatic memberMonth(NullableDateTime)
Returns the month from a date and returns it as a integer value.
Public methodStatic memberMonthName(DateTime)
Returns the name of the month.
Public methodStatic memberMonthName(NullableDateTime)
Returns the name of the month.
Public methodStatic memberMonthName(DateTime, Boolean)
Returns the name of the month.
Public methodStatic memberMonthName(DateTime, String)
Returns the name of the month.
Public methodStatic memberMonthName(NullableDateTime, Boolean)
Returns the name of the month.
Public methodStatic memberMonthName(NullableDateTime, String)
Returns the name of the month.
Public methodStatic memberMonthName(DateTime, String, Boolean)
Returns the name of the month.
Public methodStatic memberMonthName(NullableDateTime, String, Boolean)
Returns the name of the month.
Public methodStatic memberSecond(DateTime)
Returns the seconds portion from a date and returns it as a integer value.
Public methodStatic memberSecond(NullableDateTime)
Returns the seconds portion from a date and returns it as a integer value.
Public methodStatic memberTimeSerial
Returns the TimeValue value for a specified number of hours, minutes, and seconds.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWeekOfMonth(DateTime)
Returns the week of the month that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfMonth(NullableDateTime)
Returns the week of the month that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfMonth(DateTime, DayOfWeek)
Returns the week of the month that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfMonth(NullableDateTime, DayOfWeek)
Returns the week of the month that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfMonth(DateTime, DayOfWeek, CalendarWeekRule)
Returns the week of the month that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfMonth(NullableDateTime, DayOfWeek, CalendarWeekRule)
Returns the week of the month that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfYear(DateTime)
Returns the week of the year that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfYear(NullableDateTime)
Returns the week of the year that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfYear(DateTime, DayOfWeek)
Returns the week of the year that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfYear(NullableDateTime, DayOfWeek)
Returns the week of the year that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfYear(DateTime, DayOfWeek, CalendarWeekRule)
Returns the week of the year that includes the date in the specified DateTime value.
Public methodStatic memberWeekOfYear(NullableDateTime, DayOfWeek, CalendarWeekRule)
Returns the week of the year that includes the date in the specified DateTime value.
Public methodStatic memberYear(DateTime)
Returns the year from a date and returns it as a integer value.
Public methodStatic memberYear(NullableDateTime)
Returns the year from a date and returns it as a integer value.
Top
See Also