remove debug code
added createFromTime method for the Date class