Products Downloads


French version


Vous regardez une version antérieure (v. /doccenter/display/Adelia2057V1401/isLteDateTime) de cette page.

afficher les différences afficher l'historique de la page

Vous regardez la version actuelle de cette page. (v. 1) Actuel »

 

This function compares two Date or Time or Date-time type values.

It returns "true" if the first value is lower than (before) or equal to the second.

Two values of the following types can be compared:

  • Date and Date,
  • Time and Time,
  • Date-time and Date-time,
  • Date and Date-time,
  • Time and Date-time.

The Time/Date comparison does not make sense.

 

Parameters

Date/Time/Date-time

temporalVal1

Temporal value

Mandatory

Date/Time/Date-time

temporalVal2

Temporal value

Mandatory

 


For example

<#assign temporalVal1 = .now /><#assign temporalVal2 = "1995-07-18"?date.xs />temporalVal1 > temporalVal2 : ${ hardisCore.isLteDateTime(temporalVal1, temporalVal2)}

 

  • Aucune étiquette