Browse Prior Art Database

Scientific Time Automatically Converted And Displayed

IP.com Disclosure Number: IPCOM000099626D
Original Publication Date: 1990-Feb-01
Included in the Prior Art Database: 2005-Mar-15
Document File: 1 page(s) / 36K

Publishing Venue

IBM

Related People

Eisen, I: AUTHOR [+4]

Abstract

This article describes a facility for automatically converting a date in a common internal format to a NLS enabled date field. Individual countries or even individual users can store date and time information in a consistent format (Scientific Time) and yet display it in any format they desire. All conversion and formatting complexities are hidden from the application.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 100% of the total text.

Scientific Time Automatically Converted And Displayed

       This article describes a facility for automatically
converting a date in a common internal format to a NLS enabled date
field. Individual countries or even individual users can store date
and time information in a consistent format (Scientific Time) and yet
display it in any format they desire.  All conversion and formatting
complexities are hidden from the application.

      A means to display Date or Time from a common internal format
(Scientific Time) that is totally NLS enabled is required.  The
conversion from internal format should be built into this process and
take into account the user's cultural preferences, such as Calendar
type (e.g., Gregorian, Islamic, Julian, etc.), Era identifier (e.g.,
AD, Showa, etc.), start of year (e.g., January 1st, March 1st),
weekstart, daystart, time zone and daylight savings rule (e.g., US
rule, UK rule, European rule, etc.).

      The solution is to allow the application the capability of
passing a Scientific Time structure containing the cultural
independent form of date and time to be displayed. Also allow the
application to pass a structure containing the detailed Date and Time
cultural preferences for the country or user. This cultural
preference information will then be used by the date control to call
conversion routines that convert Scientific Time into the desired
form of date or time.  The date or time will then be displayed on the
screen.