[]
        
(Showing Draft Content)

C1.CalcEngine.ExpressionEngine.DateTimeFunctions

DateTimeFunctions Class

Represents date and time functions.

Inheritance
DateTimeFunctions
Namespace: C1.CalcEngine.ExpressionEngine
Assembly: C1.CalcEngine.dll
Syntax
public static class DateTimeFunctions

Methods

Name Description
AddDays(List<IExpression>)

Returns a new DateTime that adds the specified number of days to the specified DateTime value.

AddHours(List<IExpression>)

Returns a new DateTime that adds the specified number of hours to the specified DateTime value.

AddMilliSeconds(List<IExpression>)

Returns a new DateTime that adds the specified number of milliseconds to the specified DateTime value.

AddMinutes(List<IExpression>)

Returns a new DateTime that adds the specified number of minutes to the specified DateTime value.

AddMonths(List<IExpression>)

Returns a new DateTime that adds the specified number of months to the specified DateTime value.

AddSeconds(List<IExpression>)

Returns a new DateTime that adds the specified number of seconds to the specified DateTime value.

AddTicks(List<IExpression>)

Returns a new DateTime that adds the specified number of seconds to the specified DateTime value.

AddTimeSpan(List<IExpression>)

Returns a new System.DateTime that adds the specified number of System.TimeSpan to the specified System.DateTime value.

AddYears(List<IExpression>)

Returns a new DateTime that adds the specified number of years to the specified DateTime value.

DateDiffDay(List<IExpression>)

Counts the number of day boundaries between two non-nullable dates.

DateDiffHour(List<IExpression>)

Counts the number of hour boundaries between two non-nullable dates.

DateDiffMilliSecond(List<IExpression>)

Counts the number of milliseconds boundaries between two non-nullable dates.

DateDiffMinute(List<IExpression>)

Counts the number of minutes boundaries between two non-nullable dates.

DateDiffSecond(List<IExpression>)

Counts the number of seconds boundaries between two non-nullable dates.

DateDiffTick(List<IExpression>)

Counts the number of ticks boundaries between two non-nullable dates.

GetDate(List<IExpression>)

Gets the date component of specified DateTime value.

GetDay(List<IExpression>)

Gets the day of the month represented by specified DateTime value.

GetDayOfWeek(List<IExpression>)

Gets the day of the week represented by the specified DateTime value.

GetDayOfYear(List<IExpression>)

Gets the day of the year represented by the specified DateTime value.

GetHour(List<IExpression>)

Gets the hour component of the specified DateTime value.

GetMilliSecond(List<IExpression>)

Gets the milliSecond component of the specified DateTime value.

GetMinute(List<IExpression>)

Gets the minute component of the specified DateTime value.

GetMonth(List<IExpression>)

Gets the month component of the specified DateTime value.

GetSecond(List<IExpression>)

Gets the seconds component of the specified DateTime value.

GetTimeOfDay(List<IExpression>)

Gets the time of day for the specified DateTime value.

GetYear(List<IExpression>)

Gets the year component of the specified DateTime value.

Now(List<IExpression>)

Gets a DateTime object that is set to the current date and time on this computer, expressed as the local time.

Today(List<IExpression>)

Gets the current date.

UtcNow(List<IExpression>)

Gets a DateTime object that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC).