Use gmtime for formatting time in UTC instead of localtime