Back to Main Site

iHTML 2.x Year 2000 Compliance Statement

iHTML is a web programming language and as such can be used to build non-compliant Y2K applications.

iHTML's date related functions are built on the date functions provided in the Microsoft C compiler which are Year 2000 compliant. As a result all of iHTML's date functions are Year 2000 Compliant.

The following is a list of date related tags in iHTML and how to use them to ensure the creation of Year 2000 compliant applications. Note: ODBC Formatted Dates refers to YYYY-MM-DD HH:MM:SS)

iCRDATE - This tag creates a date in any format desired. The default is MM/DD/YY, selecting FMT="%Y-%m-%d" will produce a Y2K date.

iCRDATETIME - This tag creates a date and time in any format desired. The default is MM/DD/YY HH:MM:SS, selecting FMT="%Y-%m-%d %H:%M:S" will produce a Y2K date and time.

iDATE - This tag returns by default today's date or can be used to reformat any date. The default output is MM/DD/YY, selecting FMT="%Y-%m-%d" will produce a Y2K date.

iDATEDIFF - This tag returns the different between 2 dates. This tag accepts long year dates.

iDATEEXT - This tag takes a date (both long and short year) and returns extended information about that date such as the number of days in the year etc…

iDATETIME - This tag takes a date (both long and short year) and time and outputs in the default format of MM/DD/YY HH:MM:SS, selecting FMT="%Y-%m-%d %H:%M:S" will produce a Y2K date and time.

iDTSTRUCT - This tag takes a date (both long and short year) and sets 6 variables to the components of the date. The :i_dt_year variables returns long years.

iFILEINFO - there is an option on this tag to retrieve the file date which is stored by the file system in a non compliant manner.

iISDATE - this determines if a string is in fact a date, it accepts both long and short year formats

iSCHEDULE - the dates are automatically converted to ODBC format when stored in the scheduler database.

Back to Main Site