Date Compression and Year 2000 Challenges

By Robert L. Moore and D. Gregory Foley

Dr. Dobb's Journal May 1998

CYYDDD to MMDDYYYY
Assuming the CYYDDD count begins with 1900 A.D., 
YYYY = (19+C)*100+YY. Use DDDtoMMDD.c (Listing Five; 
available electronically) to complete the conversion.

Example 2: CYYDDD to MMDDYYYY.

Back to Article


Copyright © 1998, Dr. Dobb's Journal