more complete gts class and date time functions