Copyright (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference

List of predicates for group Date Processing

[This is preliminary specification and subject to change.]

List of all groups


Type

Predicate

Parameters

Flow pattern

Description

determ

dt_date_difference

MINUT_OFFSET M1,
MINUT_OFFSET M2,
INTEGER DIFFERENCE_IN_DAYS

(i,i,o)

Calculate difference between dates. See dt_min_to_offset or dt_minstr_to_offset  for more information.

determ

dt_increment_date

MINUT_OFFSET D,
INTEGER DAYS_TO_ADD,
STRING DATE_STAMP

(i,i,o)

Increment Date by number of days. See dt_min_to_offset or dt_minstr_to_offset  for more information.

determ

dt_min_to_offset

INTEGER Y,
INTEGER M,
INTEGER D,
INTEGER HH,
INTEGER MM,
MINUT_OFFSET MIN_OFFS

(i,i,i,i,i,o)

Create internal presentation of the date defined by Year, Month, Day, Hour and Minutes.

determ

dt_minoffset_to_str

MINUT_OFFSET MIN_OFFS,
STRING TEMPLATE,
STRING DATE_STAMP

(i,i,o)

Create string representing MINUT_OFFSET
click here for more information for date format.

determ

dt_minstr_to_offset

STRING DATE_STR,
STRING TEMPLATE,
MINUT_OFFSET

(i,i,o)

click here for more information for date format.

determ

dt_unix_date

INTEGER DATE_IN_UNIX,
STRING DATE_FORMAT,
STRING DATE_NORMALIZED

(i,i,o)

Convert UNIX date into EZY Prolog date
click here for more information for date format.


Copyright 1997-2013 EDMGROUP (Australia)