Browse Prior Art Database

Current Date Style Bit

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

Publishing Venue

IBM

Related People

Eisen, I: AUTHOR [+3]

Abstract

This article describes a method for creating a date field with the current date automatically placed in it. Individual countries, or even individual users, can have a current Date field appear in a window in a format they understand without doing anything other than setting a style bit at window creation time.

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

Current Date Style Bit

       This article describes a method for creating a date field
with the current date automatically placed in it. Individual
countries, or even individual users, can have a current Date field
appear in a window in a format they understand without doing anything
other than setting a style bit at window creation time.

      A means to automatically initialize a Date field with the
current Date based on a user's cultural preferences is needed. The
initialization of the Date field should take into account 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.).

      Allow the application the capability of specifying the
CURRENT_DATE style bit when the Date field is created.  The date
control will query the system to get a internal value for Date and
then convert the Date to the user's cultural preferences passed to it
at window creation time by the application.