Oh sorry, I meant to use gmt, but this is still stange, while $gmt(3600,h) does return 1, $gmt(1,h) returns 12.