Date conversion question

decot at hpisod2.UUCP decot at hpisod2.UUCP
Sat Feb 21 08:02:50 AEST 1987


> I seem to recall that there is a simple formula for converting a
> date in MMDDYY format to YYMMDD; i.e. something like:
> 
> 	YYMMDD_date = MMDDYY_date * some_number

YYMMDD_date = MMDDYY_date * 1000001L / 100 % 1000000L;

Dave Decot
Hewlett-Packard Company
hpda!decot



More information about the Comp.unix.wizards mailing list