added simple date format - a bit hackish