Added the timestamp utility method