date	functions for handling dates
