Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)

Time intrinsic functions

Ancestors - None

Details

Container for all time intrinsic functions

Methods

Name

Description

Adjust

Increment or decrement the time

Result, Adjustment

AsDateTime

Return a time as a datetime

Result, Date

AsDisplayString

Convert the variable to a formatted string

Result, Format

AsNumber

Return the variable as a number

Result, Format

AsSeconds

Return the variable as the number since midnight

Result

AsString

Return the variable as a string

Result

AsValue

Return the variable as a value if SQLNull

Result, Default

Difference

Return the difference between 2 times in seconds

Result, Object

Hour

Return the hour portion of the time

Result

IsNotSqlNull

Test if the variable is not SQLNull

Result

IsNull

Test if the variable is a LANSA null

Result

IsSqlNull

Test if the variable is SQLNull

Result

Max

Returns the latest time

Result, Time1, Time2, Time3, Time4, Time5, Time6, Time7, Time8, Time9

Min

Returns the earliest time

Result, Time1, Time2, Time3, Time4, Time5, Time6, Time7, Time8, Time9

Minute

Return the minute portion of the time

Result

Now

Return the current time

Result

Second

Return the seconds portion of the time

Result


See also

All Component Classes

Technical Reference

  • No labels