Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)

Time intrinsic functions

Ancestors - None

Details

Container for all time intrinsic functions

Methods

NameDescription
AdjustIncrement or decrement the time
Result, Adjustment
AsDateTimeReturn a time as a datetime
Result, Date
AsDisplayStringConvert the variable to a formatted string
Result, Format
AsNumberReturn the variable as a number
Result, Format
AsSecondsReturn the variable as the number since midnight
Result
AsStringReturn the variable as a string
Result
AsValueReturn the variable as a value if SQLNull
Result, Default
DifferenceReturn the difference between 2 times in seconds
Result, Object
HourReturn the hour portion of the time
Result
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 time
Result, Time1, Time2, Time3, Time4, Time5, Time6, Time7, Time8, Time9
MinReturns the earliest time
Result, Time1, Time2, Time3, Time4, Time5, Time6, Time7, Time8, Time9
MinuteReturn the minute portion of the time
Result
NowReturn the current time
Result
SecondReturn the seconds portion of the time
Result

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020