Add some utils for reading timestamps