I have developed a time zone systems that uses ISO-3166

AnyDateTime CREATED BOLD DARING NEW TECHNIQUES.

 

The results had amazing results:

·         Incredible speed.

·         Incredible capabilities.

·         Incredible simplicity.

 

The results are exciting, but striving for perfection required tremendous tenacity but was very satisfying.  

 

AnyDateTime¾USES INTERNATIONAL STANDARDS.

 

Date/time format conversion.

Uses the ISO-8601 (International Organization for Standardization) date/time formats. 

The Internet XML requires the use of this format. 

·          Converts North America formats 06/18/2008 01pm to the common world use of 18.06.2008 13:00 or the international standard 2008-06-18T13:00:00

·          Features that are unique to international ISO-8601 standard are implemented into local date/time formats.  Therefore, an international date/time can be converted to a local date/time and back to the international date/time.

 

Date/time time-zone conversion.

Uses the ISO-3166 location codes for countries and states.

·          The same codes used to mail letters are used to converting US EST (EDT) to CST (CDT), MST (MDT), PST (PDT), AST (ADT) or HST or anywhere else in the world.

Uses the IATA city codes (International Air Transport Association).

·          The same 3 letter code on your airline luggage can be used for time zone conversion and currency conversion.

 

Date/time manipulation.

Uses the ISO-8601 durations.

·          The ISO-8601 duration “PnYnMnDTnHnMnS” is used for working with years, months, days, hours, minutes, seconds or fractions of time regardless of MM/DD/YYYY, DD.MM.YYYY or YYYY-MM-DD format.

Adding/subtracting date/time

Setting date/time to a specific date/time, like the start and ending of daylight.

Getting date/time for different formats like “6/18/2008 1pm” or “2008-01-18 13:00”

Comparing different formats equal

“06/18/2008 6pm-05;00” = “2008-06-19 01:00+02:00” 

Finding the difference in years, hours, days, hours, minutes, seconds or in combinations of elements.

·          Created a new “Event Algebra” by expanding the ISO-8601 durations “=±P=±nY=±nM=±nD=±T=±nH=±nM=±nS=±.nF”.

The event of the start of daylight saving time is:

The 3rd month, the 2cd week, on the 1st day of the week at 2am

The formula =03m14d-1dwT=2h

This is much simpler than the Microsoft’s Excel or Visual Basic methods.

 

Currency conversion.

 

Global selling requires currency conversion as well as time conversions.  The same way is sued for currency conversion as is used for time zone conversion.

 

 

 

AnyDateTime UNIQUE CREATIONS.

 

Created the fastest time zone conversion routine in the world.

For the first time every, computers can do simultaneous mixed-radix arithmetic.  If it is plugged into the C/C++ conversions routines or IBM’s durations routines they run 2.75 time faster.

 

Created the fastest date/time validation routines in the world.

The checking for 30 and 31 day months and leap years is so fast it is almost un-measurable for a million date/time checks, so it is always on.

Java date/time check is so slow it permits it to be turned off for speed.

IBM’s date/time almost doubles the CPU usage if date/time is checked.

C/C++ requires programmers to write their own 30 day month check else it converts
2008-06-31 to 2008-07-01 without error indicator.

 

Created “Event Algebra” that simplifies event calculation and provides a standard method for event calculation.

The ISO-8601 duration “PnYnMnDTnHnMnS” has been expanded to create “Event Algebra”.
 

Created an Internet auto synchronization for client table update.

When North America changed the daylight savings time, your computer was updated automatically over the Internet.   However, companies doing business over around the world need the time zones of everywhere in the world.  Those nice time zone lines on maps or computer screens are no more than approximations and don’t reflect daylight savings time.    

 

The advantages of a local service:

·          A local service program can do in minutes what takes days using a Web-service.

·          The auto-synchronization feature give local services the same features as Web-services, it updates the tables on the client computer without any manual intervention.

 

The risks with Web-services:

·          Some applications kill Internet performance, so all other applications suffers.

·          The potential for gouging by application service providers (ASP).

·          No control over ASP performance or quality.

 

The disadvantage of other local services:

·          Other date/time routines use the “tz.database” that must be compiled on the client’s computer and requires manually intervention to put into production. 

 

AnyDateTime date/time data type has incredible capabilities.

 

Herman J Woudenberg

 

The world’s largest date range has a worlds largest date range of 2 million years (±1 million –1 year).

UNIX/LINUX JAVA & C/C++ have a date range of 68 years, 1970 to 2038.

ANSI COBOL-90 has a date range from 1601 to 9999. 

IBM Power PC computer has a date range from 1483 to 9999.

Microsoft .NET (Vista) has a date range from 0001 to 9999.

Microsoft Com (XP) has a date range from 1600 to 9999.

Oracle has a date range from 4500BC to 9999 AD.

 

The world’s smallest time precision as small as femto-seconds, 15 fractional digits[i].

UNIX and C only have whole seconds, no fractions of seconds.

Java has milliseconds, 3 fractional digits.

IBM has up to microseconds, 6 fractions digits.

Microsoft has 100 nanoseconds, about 7 fractional digits.

Oracle has up to 9 fractions digits.

Network Time Protocol has 10 fractional digits.

 



[i] Fractions of seconds.

Milli-second (ms or msec) is one thousandth of a second (.999 or 10-3).

It is used for read/write time of hard disk or CD-ROM and packet travel time on the Internet.

Micro-second (us or Greek letter mu plus s) is one millionth (.999_999 or 10-6) of a second.

It is used to measure the speed of CPUs.

Nano-secnd (ns or nsec) is one billionth (.999_999_999 or 10-9) of a second.

It is used for read/write time of random access memory (RAM).

Pico-second is one trillionth (.999_999_999_999 or 10-12) of a second, or one millionth of a microsecond.

It is used by the Net Work Time Protocol clock.

Femto-second is one millionth of a nanosecond (.999_999_999_999_999 or 10-15) of a second.

It is used in laser technology.

Atto-second is one quintillionth (.999_999_999_999_999_999 or 10-18) of a second.

It is a used in photon research.