Date and time in one variable, please (HPNOW?): YYYYMMDDHHSSTH. Make it a string and we'll extract as needed. The rollover problem (end of month, end of hour) _is_ a problem. -- Michael South [log in to unmask] Santa Clara, CA USA