more algorithms about converting gmt added