take out localtime