Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)

Date intrinsic functions

Ancestors - None

Details

Container for all date intrinsic functions

Methods

NameDescription
AdjustIncrement or decrement the date
Result, Adjustment
AsDateTimeReturn a date as a datetime
Result, Time
AsDayOfWeekReturn the date as a day of the week
Result, Format
AsDaysReturn the date as the number of days since 01/01/00
Result
AsDisplayStringConvert the variable to a formatted string
Result, Format
AsNumberReturn the variable as a number
Result, Format
AsStringReturn the variable as a string
Result
AsValueReturn the variable as a value if SQLNull
Result, Default
DayReturn the day portion of the date
Result
DifferenceReturn the difference between 2 dates in days
Result, Object
IsNotSqlNullTest if the variable is not SQLNull
Result
IsNullTest if the variable is a LANSA null
Result
IsSqlNullTest if the variable is SQLNull
Result
MaxReturns the latest date
Result, Date1, Date2, Date3, Date4, Date5, Date6, Date7, Date8, Date9
MinReturns the earliest date
Result, Date1, Date2, Date3, Date4, Date5, Date6, Date7, Date8, Date9
MonthReturn the month portion of the date
Result
NowReturn the current date
Result
WeekReturn the week number
Result, StartOfWeek, Format
YearReturn the year portion of the date
Result

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2