首页> 外国专利> Method for reformation conventional three field date formats to produce a century accumulated date

Method for reformation conventional three field date formats to produce a century accumulated date

机译:改造常规的三个字段日期格式以产生一个世纪累积日期的方法

摘要

The present invention relates to a method for reformatting and using the existing 2 digit month field and the existing 2 digit day field in a conventional 8, 7 or 6 digit date format to accommodate new century information. The invention is particularly useful for dealing with 6 digits formats used in existing databases, for example, ASCII date formats of the form mm/dd/yy or dd/mm/yy or yy/mm/dd. The method of the present invention for encoding century information is based on numerically offsetting the range of 1 through 31 days in the day field and/or offsetting the range of 1 through 12 months in the month field. In ASCII, the constraint is the value of the largest number that can be represented in 2 digit ASCII form (i.e. 99). There can be 3 day field ranges, 1-31, 32-62, 63-93 within the range 1 through 99, and there can be 8 month field ranges, 1-12, 13-24, 25-36, 37-48, 49-60, 61-72, 73-84, 85-96. Each of the embodiments manipulate the digits in these fields to produce a century accumulated date. Thus, century may be inserted into the day field, the month field, or both the day and the month field. The century can also be extracted from the century accumulated date to produce a conventional date format.
机译:本发明涉及一种以传统的8位,7位或6位日期格式重新格式化并使用现有的2位数字的月份字段和现有的2位数字的日期字段以适应新世纪信息的方法。本发明对于处理现有数据库中使用的6位数字格式特别有用,例如,mm / dd / yy或dd / mm / yy或yy / mm / dd形式的ASCII日期格式。本发明用于编码世纪信息的方法是基于在日期字段中数值偏移1至31天的范围和/或在月份字段中偏移1至12个月的范围。在ASCII中,约束是可以以2位ASCII形式(即99)表示的最大数字的值。 1到99范围内可以有3天的字段范围1-31、32-62、63-93,并且8个月范围内可以是1-12、13-24、25-36、37-48 ,49-60、61-72、73-84、85-96。每个实施例操纵这些字段中的数字以产生一个世纪累积的日期。因此,世纪可以插入日字段,月字段或日和月字段中。还可以从世纪累积日期中提取世纪,以产生常规的日期格式。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号