The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 12-05-2005
Perderabo's Avatar
Perderabo Perderabo is offline
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,318
Just use some more digits for x.
yyyymmddxxxxxx

And watch out for the y10k bug! If you constrain year to 4 digits, you will overflow a few thousand years from now and year will indeed be starting with a zero! What's worse, that will happen every 10,000 years.
Reply With Quote