gpa calc in a func, added DateTime Func

DateTime Func not in use yet. Gpa func has goto (its ok) in else case